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

Breakout for JST SH-Style Connector, 5-Pin Male Side-Entry (2-Pack)
JST SH-Style Cable, 4-Pin, Single-Ended Female, 75cm
JST PH-Style Cable, 3-Pin, Female-Female, 10cm
APM81815 Step-Down Voltage Regulator Carrier, 12V Out
5V, 600mA Step-Down Voltage Regulator D24V7F5
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
JST PH-Style Cable with Female Pins for 0.1" Housings, 3-Pin, 75cm
Pololu Isolated USB-to-I²C Adapter
ACS37041KLHBLT-010B5 Current Sensor Compact Carrier -10A to +10A, 5V
A89301-Based Sensorless Brushless Motor Controller, 50V, 11A
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