Auto reset and upload sketch seamlessly with Bluetooth Mate

Hi ma_hty,

As a newbie to Arduino, your info gave me the final pieces of the jigsaw puzzle that I needed to allow program uploading via blue tooth. Many thanks.

Using the direct command to avrdude via the Windows command prompt was the final bit I needed.

I found a simple solution to "escaping '0' from the input stream" is to only enable the upload checking routine for a period of 60 seconds from start up - provides plenty of time for program upload using avrdude command - just have to have an On/Off switch for power to the Arduino.

I did try adding "uno.upload.disable_flushing=true" to the board file but that seemed to interfere with library references for some reason.