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×4-Pin, Right Angle, Black, 50-Pack
ACS37042KLHBLT-010B5 Current Sensor Compact Carrier -10A to +10A, 5V
JST SH-Style Cable, 2-Pin, Female-Female, 25cm
Pololu Digital Distance Sensor, 100cm, Side-Entry Connector
Glideforce GF01-122110-1-66 Micro Linear Actuator with Limit Switches: 12V, 8.1kgf, 6mm/s, 100mm Stroke
ACS37041KLHBLT-030B5 Current Sensor Micro Carrier -30A to +30A, 5V
Breakout for JST SH-Style Connector, 5-Pin Male Side-Entry (2-Pack)
TPS2116 Power Multiplexer Carrier with USB Type-C Connector (USB priority)
JST SH-Style Cable, 4-Pin, Single-Ended Female, 12cm
Breakout for JST SH-Style Connector, 2-Pin Male Top-Entry (2-Pack)
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