Controlling devices with the serial port and writing graphical interfaces

Pololu Serial 16-Servo Controller.

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

Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V (HPCB compatible)
Pololu 7.5V, 2.4A Step-Down Voltage Regulator D24V22F7
Scooter/Skate Wheel 70×25mm - Black
Electrodes for MyoWare Muscle Sensors (6-Pack)
30:1 Metal Gearmotor 37Dx68L mm with 64 CPR Encoder
30:1 Micro Metal Gearmotor HPCB with Extended Motor Shaft
131:1 Metal Gearmotor 37Dx73L mm with 64 CPR Encoder
Motor with 64 CPR Encoder for 37D mm Metal Gearmotors (No Gearbox)
Pololu Zumo T-Shirt: Royal Blue, Adult L
0.1" (2.54mm) Crimp Connector Housing: 2x18-Pin 5-Pack
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors