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

Magnetic Encoder Disc for 20D mm Metal Gearmotors, OD 9.7 mm, ID 2.0 mm, 20 CPR (Bulk)
488:1 Metal Gearmotor 20Dx46L mm 6V with Extended Motor Shaft
25:1 Metal Gearmotor 20Dx41L mm 6V with Extended Motor Shaft
63:1 Metal Gearmotor 20Dx43L mm 6V with Extended Motor Shaft
Magnetic Encoder Pair Kit for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
313:1 Metal Gearmotor 20Dx46L mm 6V with Extended Motor Shaft
RoboClaw 2x7A Motor Controller (V5B)
Magnetic Encoder Disc for Mini Plastic Gearmotors, OD 9.7 mm, ID 1.5 mm, 12 CPR (Bulk)
100:1 Metal Gearmotor 20Dx44L mm 6V with Extended Motor Shaft
156:1 Metal Gearmotor 20Dx44L mm 6V with Extended Motor Shaft
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