×

SparkFun will be closed May 25, 2015 for Memorial Day. Orders placed after 2pm on Friday the 22nd will ship out on Tuesday. Thanks!

Member #163069

Member Since: November 17, 2010

Country: United States

  • While you might need to cop out and use a (very) short C/Python/whatever program to read from the serial port, if you can get away with a single integer value, then just reading the return value would do, and you could keep all of your logic in the batch file.

    If you’re programming a thousand at a time, though, then cutting out the interaction with the computer might well be worthwhile.

    If you want something cheap and nasty and without any non-batch software on the host, then get a keyboard controller and connect the lidswitch where the enter key goes via an edge detector. Then you can just PAUSE at the end of each programming cycle, and it will magically continue each time you close the lid. It seems one can get such an IC in DIP fairly cheaply, so this needn’t involve cannibalising a keyboard, either:

    http://au.element14.com/holtek/ht82k629a-40diplf/ic-usb-ps2-cont-win-2000-keyboard/dp/1420877

No public wish lists :(