Set/read variables inside While loop

Support forum for MegunoLink
Post Reply
diegodad
Posts: 3
Joined: Mon Sep 18, 2017 7:33 pm

Mon Mar 26, 2018 6:20 pm

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.
philr
Posts: 446
Joined: Mon May 26, 2014 10:58 am

Tue Mar 27, 2018 7:57 am

Can you post your code and I'll see if I can help.

Cheers
Phil
Post Reply