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.
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

A-Star 32U4 Robot Controller SV with Raspberry Pi Bridge
Raspberry Pi 2 Model B
MP 12V Motor with 48 CPR Encoder for 25D mm Metal Gearmotors (No Gearbox)
Free Circuit Cellar magazine December 2015
172:1 Metal Gearmotor 25Dx56L mm LP 12V with 48 CPR Encoder
20.4:1 Metal Gearmotor 25Dx50L mm HP 12V with 48 CPR Encoder
LIS3MDL 3-Axis Magnetometer Carrier with Voltage Regulator
HP 12V Motor with 48 CPR Encoder for 25D mm Metal Gearmotors (No Gearbox)
LSM6DS33 3D Accelerometer and Gyro Carrier with Voltage Regulator
34:1 Metal Gearmotor 25Dx52L mm MP 12V with 48 CPR Encoder
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