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

QTRXL-MD-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Long Range, Side-Entry Connector
QTRX-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Low Current, Side-Entry Connector
CT220RMV-HS5 Contactless Current Sensor Carrier ±15mT/150G
JST SH-Style Cable, 4-Pin, Female-Female, 10cm
6V, 500mA Step-Down Voltage Regulator D45V5F6
Breakout for JST PH-Style Connector, 2-Pin Male Top-Entry, with SH
Pololu Basic 2-Channel SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
ACS37042KLHBLT-030B3 Current Sensor Compact Carrier -30A to +30A, 3.3V
ACS37041KLHBLT-010B5 Current Sensor Micro Carrier -10A to +10A, 5V
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