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

Motoron M3T453 Triple I²C Motor Controller with 0.1"-Pitch Through-Holes (No Headers)
0.100″ (2.54 mm) Breakaway Male Header: 1×2-Pin, Straight, Black, 100-Pack
ACS37041KLHBLT-030B3 Current Sensor Micro Carrier -30A to +30A, 3.3V
ACS37041KLHBLT-010B3 Current Sensor Micro Carrier -10A to +10A, 3.3V
Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
ACS37042KLHBLT-010B3 Current Sensor Micro Carrier -10A to +10A, 3.3V
A89301-Based Sensorless Brushless Motor Controller, 50V, 11A
Pololu Reverse Voltage Protector, 4-75V, 8A
JST PH-Style Cable, 4-Pin, Female-Female, 63cm
0.100″ (2.54 mm) Breakaway Male Header: 1×10-Pin, Straight, Black, 25-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