Page 1 of 1

Converter is not working

Posted: Thu May 17, 2018 12:50 pm
by Osta
After I prescribed Compare$()
Stopped working ToString$()
Remained workers only the text !
This is after update!!!
And all I had from this project to remove all the macros and put them zanovo
Because after the update the compiler simply did not see them!!!!
In General horror!!!

Re: Converter is not working

Posted: Thu May 17, 2018 1:03 pm
by Osta
MD.fcfx
Proj
(14.33 KiB) Downloaded 190 times

Re: Converter is not working

Posted: Thu May 17, 2018 1:30 pm
by Osta
The compiler stopped working at all !!!

Re: Converter is not working

Posted: Thu May 17, 2018 1:34 pm
by LeighM
Hi,
I am not sure exactly what problem you are reporting.
But I did notice a couple of issues:

Text normally needs the background drawing too, so you need transparency turned off...
transparent_0.jpg
transparent_0.jpg (61.45 KiB) Viewed 4651 times
C code does not simulate, so the variable will not increment in the simulator unless you use a calculation icon...
gain.jpg
gain.jpg (13.52 KiB) Viewed 4651 times
Hope that resolves your problem, if not please could you give more details.
Leigh

Re: Converter is not working

Posted: Thu May 17, 2018 1:51 pm
by Osta
I'm not using the simulator!
Can I use my code ?
I have an electronic Board with a processor.
Now nothing works !!!
SPI - not working !
display not working!
The display is not initialized
and no cleaning !
Previously cleaned!

Re: Converter is not working

Posted: Thu May 17, 2018 3:06 pm
by LeighM
Could you make the above changes, then "Compile to chip" and post your MD.msg.txt file?

Re: Converter is not working

Posted: Thu May 17, 2018 3:52 pm
by Osta
It's my fault.....
I made a delay at the beginning of the code and everything began to work!!!
Probably a programming problem...
My apologies!!!!
I'm confused with the Compare$ function
With respect Osta :)
MMD.fcfx
New
(10.37 KiB) Downloaded 213 times

Re: Converter is not working

Posted: Fri May 18, 2018 8:06 am
by LeighM
OK, glad it's now working.

The Compare$ function returns 0 if the strings are the same.