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, Female-Female, 40cm
Pololu Isolated Solid State Relay/Switch, SPST, 100V, 4.5A
Pololu Digital Distance Sensor v2, 15cm, Side-Entry Connector
0.100″ (2.54 mm) Breakaway Male Header: 1×4-Pin, Right Angle, Black, 50-Pack
APM81815 Step-Down Voltage Regulator Carrier, 5V Out
3.3V, 600mA Step-Down Voltage Regulator D24V7F3
MPQ6612A Single Brushed DC Motor Driver Carrier
QTR-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Side-Entry Connector
JST PH-Style Cable with Female Pins for 0.1" Housings, 5-Pin, 30cm
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