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

ISO6520 2-Channel Digital Isolator Carrier, 2/0, Default High, Functional Isolation
Magnetic Encoder Pair Kit with Side-Entry Connector for Mini Plastic Gearmotor, 12 CPR, 2.7-18V
ISO6542 4-Channel Digital Isolator Carrier, 2/2, Default High, Functional Isolation
ACS37200LLXTR-100B3 Current Sensor Compact Carrier -100A to +100A, 3.3V
ACS37100LMATR-025B3 TMR Current Sensor Large Carrier -25A to +25A, 3.3V
QTRXL-MD-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Long Range, Side-Entry Connector
Pololu Basic 2-Channel SPDT Relay Carrier with 12VDC Relays, Terminal Blocks, and JST SH-Style Top-Entry Connector
5V, 300mA Isolated Step-Down Voltage Regulator D24Z3F5
Glideforce GF01-121005-2-66 Micro Linear Actuator with Feedback Potentiometer: 12V, 4.3kgf, 17.6mm/s, 50mm Stroke
ACS37200LLXTR-200B5 Current Sensor Large Carrier -200A to +200A, 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