Phony Scope
#1
Posted 30 November 2011 - 11:23 AM
#2
Posted 30 November 2011 - 02:26 PM
#3
Posted 30 November 2011 - 04:58 PM
The code is far from 'perfect' but seems to work OK. There is one known issue. On rare occasions, the message string sent to the Netduino for setting the PWM has missing data. The Netduino will return a message informing you of the problem. To be blunt, I have no idea why, but at least it does not happen very often. I live near the BIG Chicago airport and I have issues with electronic items in the home at times. I 'think' it is from aircraft transmissions of some sort. Anyway, a plane is usually flying over and then have strange thing happen around here. Like hear voices on the TV and FM radio.
The usual way to handle situations like this, (namely sending data over noisy communications channels where the message can be garbled) is to include a checksum ( http://en.wikipedia.org/wiki/Checksum) with the message.
Basicly the sender computes the checksum and includes it with the message. The receiver then gets the message and re-computes the checksum to confirm that the computed value matches the checkum received. If they do not then the receiver knows the message has been corrupted and treats it accordingly. (One standard practice is to simply ask the sender to re-send the message).
This may or may not be overkill for your purposes.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users