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

0.100″ (2.54 mm) Breakaway Male Header: 1×2-Pin, Straight, Black, 100-Pack
ACS37041KLHBLT-030B3 Current Sensor Micro Carrier -30A to +30A, 3.3V
Glideforce GF01-121003-1-66 Micro Linear Actuator with Limit Switches: 12V, 4.3kgf, 17.6mm/s, 30mm Stroke
24V, 4A Step-Down Voltage Regulator D42V55F24
ACS37030LLZATR-065B3 Current Sensor Compact Carrier -65A to +65A, 3.3V
JST SH-Style Cable, 4-Pin, Single-Ended Female, 30cm
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
JST PH-Style Cable, 5-Pin, Female-Female, 10cm
ACS37041KLHBLT-010B3 Current Sensor Micro Carrier -10A to +10A, 3.3V
Pololu Isolated USB-to-I²C Adapter with Isolated Power
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