unable to work on float not know why help plz

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
bilal.iq.lhr
Posts: 28
Joined: 10 Aug 2016 18:16

unable to work on float not know why help plz

#1 Post by bilal.iq.lhr » 04 Nov 2016 17:23

attached 2 files and problem is this
when converting string into token after that token converted into float but unable to perform job on float why donot getting the point.
18f86k22
Attachments
t1.rar
(60.71 KiB) Downloaded 320 times
4th nov.rar
(55.16 KiB) Downloaded 181 times

bilal.iq.lhr
Posts: 28
Joined: 10 Aug 2016 18:16

Re: unable to work on float not know why help plz

#2 Post by bilal.iq.lhr » 04 Nov 2016 19:38

not able to add subtract multyply

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: unable to work on float not know why help plz

#3 Post by lana.arsic » 08 Nov 2016 13:33

Hi,

I'm sorry, I'm not sure if I understand you well.

I have tested function atof after strtok and it was working properly,
also adding value, subtracting and multiplying but I have tested with PIC18F87K22.

You can try minimal example from attachment,
it is similar to your code.

If you still have problems, can you please describe it more?

Best regards,
Lana
Attachments
USB UART.zip
(7.79 KiB) Downloaded 189 times

bilal.iq.lhr
Posts: 28
Joined: 10 Aug 2016 18:16

Re: unable to work on float not know why help plz

#4 Post by bilal.iq.lhr » 12 Nov 2016 05:26

Thanks working in a new direction on interpreter so i think there are some issues with Proteus so that why having some problems looking that i have to say to some one buy a board for me or have to made it at home lets see and thanks for checking

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: unable to work on float not know why help plz

#5 Post by lana.arsic » 14 Nov 2016 18:15

Hi,

You're welcome, but please understand that Proteus is not certified development environment
for code generated by our compilers. I have tested on EasyPIC PRO v7 board, maybe you can consider to use it:

http://www.mikroe.com/easypic-pro/

Best regards,
Lana

Post Reply

Return to “User Projects”