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:

No public wish lists :(