Page 1 of 1

Set/read variables inside While loop

Posted: Mon Mar 26, 2018 6:20 pm
by diegodad
I wrote some code for an Arduino board that lets me set and read back various variables using the MegunoLink interface. This works fine. However when I put the code inside a While loop I can no longer either set or read these variables, even when I modify the code so that the While end condition never occurs. Does this make sense? Any suggestions for a way around the problem while still using While, or an alternate approach that has the same functionality?
Any suggestions are appreciated.

Re: Set/read variables inside While loop

Posted: Tue Mar 27, 2018 7:57 am
by philr
Can you post your code and I'll see if I can help.

Cheers
Phil