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 CHP-170 5-1/4 in. Micro Flush Cutter
Hakko T18-D32 Soldering Tip
Addressable RGB 150-LED Strip, 5V, 5m (APA102C)
Pololu Dual MC33926 Motor Driver for Raspberry Pi (Assembled)
0.100" (2.54 mm) Low-Profile Male Header: 2×7-Pin, 8.75 mm
PIR Motion Sensor
Pololu Ball Caster with 1″ Plastic Ball
Hakko FX-888D Digital Soldering Station
Screw Terminal Block: 3-Pin, 0.1″ Pitch, Side Entry (3-Pack)
Screw Terminal Block: 2-Pin, 0.1″ Pitch, Side Entry (4-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