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

0.100″ (2.54 mm) Breakaway Male Header: 1×2-Pin, Straight, Black, 100-Pack
RobustMotion RM-EGB Series 24VDC Compact Finger Gripper, 20D, Simple PNP Interface
5V, 500mA Step-Down Voltage Regulator D45V5F5
ACS37042KLHBLT-010B5 Current Sensor Micro Carrier -10A to +10A, 5V
Pololu Isolated Solid State Relay/Switch, SPST, 30V, 11A
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
JST PH-Style Cable, 4-Pin, Female-Female, 63cm
Pololu RC Switch with Isolated Solid State Relay/Switch, SPST, 30V, 10A (Soldered Connectors)
JST SH-Style Connector Board for Micro Metal Gearmotors, 2-Pin, Back-Entry (2-Pack)
JST SH-Style Cable, 2-Pin, Female-Female, 16cm
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