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

JST PH-Style Cable with Female Pins for 0.1" Housings, 5-Pin, 30cm
Pololu Power ORing Ideal Diode Pair, 4-60V, 6A
ACS37042KLHBLT-030B5 Current Sensor Micro Carrier -30A to +30A, 5V
ACS37800KMACTR-030B3-I2C Power Monitor Carrier with Secondary I²C Isolation (Soldered Terminal Block)
Glideforce GF01-122110-1-66 Micro Linear Actuator with Limit Switches: 12V, 8.1kgf, 6mm/s, 100mm Stroke
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
12V Step-Up Voltage Regulator U3V9F12
JST SH-Style Cable, 4-Pin, Single-Ended Female, 12cm
Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
Pololu Digital Distance Sensor v2, 10cm, Side-Entry Connector
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