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

ACS37042KLHBLT-030B5 Current Sensor Micro Carrier -30A to +30A, 5V
JST PH-Style Cable, 4-Pin, Female-Female, 63cm
JST SH-Style Cable, 4-Pin, Single-Ended Female, 30cm
JST PH-Style Cable, 2-Pin, Female-Female, 25cm
24V Step-Up Voltage Regulator U3V9F24
QTRX-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Low Current, Side-Entry Connector
Pololu Digital Distance Sensor v2, 15cm, Side-Entry Connector
MP6603 Stepper Motor Driver Carrier
JST SH-Style Cable, 2-Pin, Female-Female, 16cm
JST SH-Style Connector Board for Micro Metal Gearmotors, 2-Pin, Back-Entry (2-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