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

Hakko FX-901 Cordless Soldering Iron
RoboClaw 2x5A Motor Controller (V5)
Pololu Dual MC33926 Motor Driver for Raspberry Pi (Partial Kit)
Addressable RGB 60-LED Strip, 5V, 2m (APA102C)
Addressable RGB 120-LED Strip, 5V, 2m (APA102C)
Addressable RGB 60-LED Strip, 5V, 1m (APA102C)
Hakko CHP-170 5-1/4 in. Micro Flush Cutter
Addressable High-Density RGB 72-LED Strip, 5V, 0.5m (APA102C)
Hakko T18-D24 Soldering Tip
BD65496MUV Single Brushed DC Motor Driver Carrier
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