IC4 functions listed alphabetically

Download this table as a MS Word Document

Return to Previous Page

Note: Functions exclusive to the Lego RCX are omitted from this list

alloff

<void>()

Motors

analog

<int>(<int>)

Sensors

ao

<void>()

Motors

atan

float(<float>)

Math

beep

<void>()

Sound

beeper_off

<void>()

Sound

beeper_on

<void>()

Sound

bk

<void>(<int>)

Motors

clear_digital_out

<int>(<int>)

DIO

cos

float(<float>)

Math

defer

<void>()

Processes

digital

<int>(<int>)

Sensors

disable_encoder

<void>(<int>)

Sensors

enable_encoder

<void>(<int>)

Sensors

exp

float(<float>)

Math

exp10

float(<float>)

Math

fd

<void>(<int>)

Motors

hog_processor

<void>()

Processes

init_expbd_servos

<int>(<int>)

Motors

kill_process

void(<int>)

Processes

knob

<int>()

Sensors

log

float(<float>)

Math

log10

float(<float>)

Math

motor

<void>(<int>,<int>)

Motors

mseconds

long()

Time

msleep

<void>(<long>)

Time

off

<void>(<int>)

Motors

printf

void(<char[]>,...)

Output

random

<int>(<int>)

Math

read_encoder

<int>(<int>)

Sensors

reset_encoder

<void>(<int>)

Sensors

reset_system_time

<void>()

Time

seconds

<float>()

Time

set_beeper_pitch

<void>(<float>)

Sound

set_digital_out

<int>(<int>)

DIO

sin

float(<float>)

Math

sleep

<void>(<float>)

Time

sonar

<int>()

Sensors

sqrt

float(<float>)

Math

start_button

<int>()

Sensors

start_press

<void>()

Sensors

stop_button

<int>()

Sensors

stop_press

<void>()

Sensors

tan

float(<float>)

Math

test_digital_out

<int>(<int>)

DIO

tone

<void>(<float>,<float>)

Sound


IC4 functions listed by category

clear_digital_out

<int>(<int>)

DIO

set_digital_out

<int>(<int>)

DIO

test_digital_out

<int>(<int>)

DIO

atan

float(<float>)

Math

cos

float(<float>)

Math

exp

float(<float>)

Math

exp10

float(<float>)

Math

log

float(<float>)

Math

log10

float(<float>)

Math

random

<int>(<int>)

Math

sin

float(<float>)

Math

sqrt

float(<float>)

Math

tan

float(<float>)

Math

alloff

<void>()

Motors

ao

<void>()

Motors

bk

<void>(<int>)

Motors

fd

<void>(<int>)

Motors

init_expbd_servos

<int>(<int>)

Motors

motor

<void>(<int>,<int>)

Motors

off

<void>(<int>)

Motors

printf

void(<char[]>,...)

Output

defer

<void>()

Processes

hog_processor

<void>()

Processes

kill_process

void(<int>)

Processes

analog

<int>(<int>)

Sensors

digital

<int>(<int>)

Sensors

disable_encoder

<void>(<int>)

Sensors

enable_encoder

<void>(<int>)

Sensors

knob

<int>()

Sensors

read_encoder

<int>(<int>)

Sensors

reset_encoder

<void>(<int>)

Sensors

sonar

<int>()

Sensors

start_button

<int>()

Sensors

start_press

<void>()

Sensors

stop_button

<int>()

Sensors

stop_press

<void>()

Sensors

beep

<void>()

Sound

beeper_off

<void>()

Sound

beeper_on

<void>()

Sound

set_beeper_pitch

<void>(<float>)

Sound

tone

<void>(<float>,<float>)

Sound

mseconds

long()

Time

msleep

<void>(<long>)

Time

reset_system_time

<void>()

Time

seconds

<float>()

Time

sleep

<void>(<float>)

Time