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.
View this document as a printable PDF: serial_port_and_graphical_interfaces.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

Wires with Pre-crimped Terminals 10-Pack M-M 3" White
Addressable RGB 30-LED Strip, 5V, 1m (APA102C)
Wires with Pre-crimped Terminals 10-Pack F-F 3" Green
99:1 Metal Gearmotor 25Dx54L mm MP 12V
Pololu Dual MC33926 Motor Driver for Raspberry Pi (Assembled)
Addressable RGB 120-LED Strip, 5V, 2m (APA102C)
47:1 Metal Gearmotor 25Dx52L mm MP 12V
1000:1 Micro Metal Gearmotor with Extended Motor Shaft
Zumo 32U4 Robot (Assembled with 75:1 HP Motors)
3-Pin Female JST ZH-Style Cable (30cm) for Sharp GP2Y0A51 Distance Sensors
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