![]() |
Scout Index | Contents | Master Index |
Sensors | Outputs | Sound | Timers | Communication | Counters | Access Control | Events | Misc. Features |
SENSORS | ||
ClearSensor() | Clear the value of a sensor. | |
SetSensorLowerLimit() | Set the light sensor's lower limit. | |
SetSensorUpperLimit() | Set the light sensor's upper limit. | |
SetSensorHysteresis() | Set the light sensor's hysteresis. | |
CalibrateSensor() | Reads the current value of the light sensor. | |
SensorValue() | Returns the processed sensor reading for sensor n. | |
SensorType() | Returns the configured type of sensor n. | |
SensorValueRaw() | Returns the raw value of sensor n. | |
OUTPUTS | ||
SetOutput() | Set the outputs to the specified mode. | |
SetDirection() | Set the outputs to the specified direction. | |
SetPower() | Sets the power level of the specified outputs. | |
On() | Turn specified outputs on. | |
Off() | Turn specified outputs off. | |
Float() | Make outputs float. | |
Fwd() | Set outputs to forward direction. | |
Rev() | Set outputs to reverse direction. | |
Toggle() | Flip the direction of the outputs. | |
OnFwd() | Set outputs to forward direction and turn them on. | |
OnRev() | Set outputs to reverse direction and turn them on. | |
OnFor() | Turn outputs on for a specified amount of time. | |
SetGlobalOutput() | Disable or re-enable outputs depending on the mode parameter. | |
SetGlobalDirection() | Reverses or restores the directions of outputs. | |
SetMaxPower() | Sets the maximum power level allowed for the outputs. | |
OutputStatus() | Returns the current output setting for motor n. | |
GlobalOutputStatus() | Returns the current global output setting for motor n. | |
SOUND | ||
PlaySound() | Plays one of the 6 preset RCX sounds. | |
PlayTone() | Plays a single tone of the specified frequency and duration. | |
MuteSound() | Stops all sounds and tones from being played. | |
UnmuteSound() | Restores normal operation of sounds and tones. | |
SelectSounds() | Selects which group of system sounds should be used. | |
TIMERS | ||
ClearTimer() | Reset the specified timer to 0. | |
Timer() | Return the current value of specified timer (in 100ms resolution). | |
COMMUNICATION | ||
ClearMessage() | Clear the message buffer. | |
SendMessage() | Send an IR message. | |
SetTxPower() | Set the power level for IR transmission. | |
SendVLL() | Sends a Visible Light Link (VLL) command. | |
Message() | Returns the most recently received message. | |
COUNTERS | ||
ClearCounter() | Reset counter n to 0. | |
IncCounter() | Increment counter n by 1. | |
DecCounter() | Decrement counter n by 1. | |
Counter() | Return the current value of counter n. | |
ACCESS CONTROL | ||
SetPriority() | Set a task's priority to p. | |
EVENTS | ||
Event() | Manually triggers the specified events. | |
SetSensorClickTime() | Set the click time used to generate events from the light sensor. | |
SetCounterLimit() | Set the limit for counter n. | |
SetTimerLimit() | Set the limit for timer n. | |
ActiveEvents() | Return the set of events that have been triggered for a given task. | |
CurrentEvents() | Return the set of events that have been triggered for the active task. | |
MISC. FEATURES | ||
Wait() | Make a task sleep for specified amount of time (in 100ths of a second). | |
StopAllTasks() | Stop all currently running tasks. | |
SetSleepTime() | Set the sleep timeout the requested number of minutes (which must be a constant). | |
SleepNow() | Force the device to go to sleep. | |
SetScoutRules() | Set the various rules used by the scout in stand-alone mode. | |
SetScoutMode() | Put the scout into stand-alone (0) or power (1) mode. | |
SetEventFeedback() | Set which events should be accompanied by audio feedback. | |
SetLight() | Control the Scout's LED. | |
Random() | Return a random number between 0 and n. | |
ScoutRules() | Return current setting for one of the rules. | |
EventFeedback() | Return the set of events that have audio feedback. |