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

Pololu Ball Caster with 1″ Plastic Ball and Ball Bearings
9mm Electromagnetic Buzzer: 30Ω, 3-7V, Side Opening
99:1 Metal Gearmotor 25Dx54L mm MP 12V
Mini Pushbutton Power Switch with Reverse Voltage Protection, LV
Zumo 32U4 Robot (Assembled with 100:1 HP Motors)
172:1 Metal Gearmotor 25Dx56L mm LP 12V
378:1 Metal Gearmotor 25Dx58L mm LP 12V
9mm Electromagnetic Buzzer: 40Ω, 4-6V, Top Opening
Zumo 32U4 Robot (Assembled with 50:1 HP Motors)
VL6180X Time-of-Flight Distance Sensor Carrier with Voltage Regulator
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