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

CT220RMV-HS5 Contactless Current Sensor Carrier ±15mT/150G
Glideforce GF01-121003-1-66 Micro Linear Actuator with Limit Switches: 12V, 4.3kgf, 17.6mm/s, 30mm Stroke
ACS37042KLHBLT-010B3 Current Sensor Micro Carrier -10A to +10A, 3.3V
ACS37041KLHBLT-010B3 Current Sensor Compact Carrier -10A to +10A, 3.3V
ACS37800KMACTR-030B3-I2C Power Monitor Carrier with Secondary I²C Isolation (Soldered Terminal Block)
APM81815 Step-Down Voltage Regulator Carrier, 5V Out
Pololu Basic SPDT Relay Carrier with 5VDC Relay, Terminal Blocks, and JST SH-Style Top-Entry Connector
Breakout for JST SH-Style Connector, 3-Pin Male Side-Entry (2-Pack)
Breakout for JST PH-Style Connector, 4-Pin Male Top-Entry, with SH
Glideforce GF01-122110-1-66 Micro Linear Actuator with Limit Switches: 12V, 8.1kgf, 6mm/s, 100mm 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