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

RoboClaw 2x45A Motor Controller (V5D, pin header I/O)
Free Circuit Cellar magazine February 2017
Machine Screw: #2-56, 1/2″ Length, Phillips (25-pack)
Machine Screw: M3, 20mm Length, Phillips (25-pack)
RoboClaw 2x30A Motor Controller (V5D)
Romi 32U4 Control Board
Machine Screw: #4-40, 3/8″ Length, Phillips (25-pack)
Machine Screw: #2-56, 3/8″ Length, Phillips (25-pack)
Machine Screw: #4-40, 3/4″ Length, Phillips (25-pack)
Free Circuit Cellar magazine March 2017
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