The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
There have been 5 items by perpetualKid
(Search limited from 11-July 19)
Wondering if anyone seen or already working on a Firmata implementation for Netduino (or generally NetMF devices) to use Windows Phone as kind of a Virtual Shield, similarly as Microsoft announced for Arduino devices (http://ms-iot.github...0/SetupWVSA.htm, http://makezine.com/...collaboration/) Too bad Microsoft isn't focusing their own platforms (NetMF), though understandable given the larger community on the other side.
Haven't found any reasonable implementation for Netduino, just checking if there is any effort in progress already before reinventing the wheel aka starting a port. Contributions welcome
I think the while loop is not necessary. You will read as many bytes as available to read, and exit the eventhandler. Once there are more bytes available, the event will be raised again and you continue reading. You just need some marker in your data which marks the end of a message, typically crlf or | or so 0x00 etc. There is no guarantee that all data arrives in a single batch in the eventhandler, at max it may come byte by byte (at least the order is kept). So you need some buffer or stream to hold already received data until the remainder is coming as well.
Typically a 1500ns pulse defines the midpoint, and you may try some broader range to turn your servo the full 180 degree. I'm sure there is some spec available where you could read up the lower and upper boundaries, else just try in some steps like 950 and 2050, 900 and 2100 etc to find the full range. Some servos go as braod as 500 for the low bound (range) up to 2500 for the upper bound (range).