Written by Thomas W. Phillips
Requires PySerial 2.6. Developed/tested on Windows 7 with Python 2.7.3 (Enthought Canopy 7.3.1 64-bit).
- Switch valve off:
0
- Switch valve on:
1
- Advance one position:
2
- Check Arduino is responding:
?
The Arduino Uno automatically resets itself upon opening a serial connection. Two options to deal with this:
- Keep the serial connection open when in use, which is what
autosampler.py
does. - Break the RESET EN jumper.