Sep 22, 2011 at 5:50 AM
Edited Sep 22, 2011 at 5:50 AM
I'm afraid I'm experiencing the same symptoms as dconcilio as well. I implemented some bare-minimum digital-write code and noticed pin 13 wasn't blinking the number of times that I specified. At first I thought the
thread was exiting before Rhyduino could finish up its business, but I've had no luck with every attempt (multiple threads, spin-waits, sleeps). Most of my commands go thru, but the first and last couple don't seem to have much rhyme or reason.
It almost looks like Rhyduino waits to send the command to the arduino until it is given the next, different, command on the same pin.
eg: the arduino's behavior is always 1 command behind what's expected from the following code:
static void Main(string args)
using (Arduino a = new Arduino("COM3"))
DigitalPin p = a.DigitalPins;
int count = 4;
for (int i = 0; i < count; i++)