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

9V Step-Up/Step-Down Voltage Regulator S8V9F9
Graphical OLED Display: 128x64, 1.3", White Pixels, SPI, Black PCB
Zumo 2040 Robot (Assembled with 75:1 HP Motors)
Zumo 2040 Robot Kit (No Motors)
MinIMU-9 v6 Gyro, Accelerometer, and Compass (LSM6DSO and LIS3MDL Carrier)
Motoron M3H550 Triple Motor Controller for Raspberry Pi (Connectors Soldered)
4.2-15V, 3A Fine-Adjust Step-Down Voltage Regulator D30V30MAS
Ribbon Cable Premium Jumper Wires 10-Color F-F 60" (150 cm)
3pi+ 2040 Control Board
15V, 2.7A Step-Down Voltage Regulator D30V30F15
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