6. Compiling and running the program

Instructions for compilation are defined in the Makefile. Type make and all of the C files will be combined into a shared object (or DLL) called ssctester.so. Since there is no main function, this is not a program you can run by yourself, just a library of functions that will be used by ssc-tester.tcl. That file is a script, which means that it is interpreted on the fly and does not need to be compiled. To run it, type

wish ssc-tester.tcl

and a window with 16 sliders should appear. Connect the servo controller and a servo, then try moving the sliders to see if it works!

New Products

A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge (SMT Components Only)
Addressable High-Density RGB 72-LED Strip, 5V, 0.5m (APA102C)
1000:1 Micro Metal Gearmotor with Extended Motor Shaft
Addressable RGB 120-LED Strip, 5V, 2m (APA102C)
RoboClaw ST 2x45A Motor Controller (V5, screw terminal I/O)
20.4:1 Metal Gearmotor 25Dx50L mm HP 12V
Vishay TSOP38438 IR Receiver Module, 38kHz
Zumo 32U4 Robot (Assembled with 100:1 HP Motors)
1000:1 Micro Metal Gearmotor MP with Extended Motor Shaft
Wires with Pre-crimped Terminals 10-Pack M-F 3" Blue
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