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

Pololu Digital Distance Sensor v2, 5cm, Side-Entry Connector
5V, 11A Step-Down Voltage Regulator D42V110F5
JST SH-Style Cable, 4-Pin, Single-Ended Female, 12cm
ACS37042KLHBLT-030B5 Current Sensor Compact Carrier -30A to +30A, 5V
QTRX-MD-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Low Current, Side-Entry Connector
MP6603 Stepper Motor Driver Carrier
ACS37041KLHBLT-010B3 Current Sensor Micro Carrier -10A to +10A, 3.3V
JST PH-Style Cable, 4-Pin, Female-Female, 63cm
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
3.3V, 600mA Step-Down Voltage Regulator D24V7F3
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