Examining the compiled code, E. channel settings – Pololu Maestro User Manual
Page 29

Examining the compiled code
Click the “View Compiled Code” button to see the actual bytes that are created by each line of your script. This is
available mostly as a tool for developers; if you are interested in the details of the bytecode used on the Maestro
(for example, if you want to write your own compiler), please
. At the end of
the compiled code is a listing of all of the subroutines, including their numbers in decimal and hex notation. These
numbers can be used with serial commands to enter the subroutines under external control.
4.e. Channel Settings
The Channel Settings tab in the Maestro Control Center.
The Channel Settings tab contains controls for many of the channel-related parameters that are stored on the Maestro,
affecting its operation immediately on start-up.
A separate row of controls is displayed for each of the Maestro’s channels:
Name. Each of the channels may be assigned a name, for your convenience. Channel names are not stored on the
device but instead in the system registry on your computer; if you want to use your Maestro on a different computer
without losing the names, save a settings file on the old computer and load it into the Maestro with the new one.
Mode. The mode of the channel is the most basic setting determining its operation. There are three options:
• Servo (the default) indicates an R/C servo PWM output.
• Input specifies that the channel should be used as an analog or digital input. The inputs on channels 0–11
are analog: they are measured continuously as a value between 0 and 1023 (VCC), at a maximum rate of about
20 kHz. The inputs on channels 12–23 are digital: their values are either exactly 0 or exactly 1023. Note that the
values displayed in the Target and Position boxes in the Status tab are one quarter of the actual input value, so
1023 is displayed as 255.75.
Pololu Maestro Servo Controller User's Guide
© 2001–2014 Pololu Corporation
4. Using the Maestro Control Center
Page 29 of 73