Quote:
Originally posted by Andrew
Is it because IFI uses 0xff, 0xff as a marker for start of data sequence? If 2 PWMs next to each other in the serial stream were to max out at the same time, it would appear to the master uP as if the data stream had restarted and the remaining variables would be shifted.
|
That's exactly it.
Code:
Serout USERCPU, OUTBAUD,
[255,255,(PWM1),relayA,(PWM2),relayB,(PWM3),(PWM4), (...)]