Controlling devices with the serial port and writing graphical interfaces

Pololu Serial 16-Servo Controller.

View entire document on a single page.
You can also view this document as a printable PDF.

1. Introduction
2. Materials
3. Installing Cygwin (Windows only)
4. Writing a program in C
5. Adding a GUI with Tcl/Tk
6. Compiling and running the program
7. Conclusion

New Products

Pololu Basic 2-Channel SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
Glideforce GF01-120501-1-66 Micro Linear Actuator with Limit Switches: 12V, 2.2kgf, 28mm/s, 10mm Stroke
0.100″ (2.54 mm) Breakaway Male Header: 1×4-Pin, Right Angle, Black, 50-Pack
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
ACS37030LMYATR-040B3 Current Sensor Compact Carrier -40A to +40A, 3.3V
Breakout for JST SH-Style Connector, 5-Pin Male Side-Entry (2-Pack)
QTR-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Side-Entry Connector
JST SH-Style Cable, 4-Pin, Female-Female, 10cm
Glideforce GF01-120503-2-66 Micro Linear Actuator with Feedback Potentiometer: 12V, 2.2kgf, 28mm/s, 30mm Stroke
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors