Page 74
get_create_battery_charging_state [Category: Create Battery Function]
Format:
int
get_create_battery_charging_state();
0-not charging; 1-recondition charging; 2-full charging; 3-trickle charging; 4-waiting; 5-charge
fault. This function is seldom used in practice.
get_create_battery_current [Category: Create Battery Function]
Format:
int
get_create_battery_current();
Returns the current flow in mA.
get_create_battery_voltage [Category: Create Battery Function]
Format:
int
get_create_battery_voltage();
Returns the battery voltage in mV.
get_create_battery_temp [Category: Create Battery Function]
Format:
int
get_create_battery_temp();
Returns the battery temperature in degrees C.
Create built-in script functions
create_spot [Category: Create Built In Script]
Format:
void
create_spot();
Simulates a Roomba doing a spot clean.
create_cover [Category: Create Built In Script]
Format:
void
create_cover
();
Simulates a Roomba covering a room.
create_demo [Category: Create Built In Script]
Format:
void
create_demo(
int
d);
Runs built in demos (see Create Open Interface on web).
create_cover_dock [Category: Create Built In Script]
Format:
void
create_cover_dock();
Create roams around until it sees an IR dock and then attempts to dock
LED and music functions
create_advance_led [Category: Create Music/LED Function]
Format:
void
create_advance_led(
int
on);
The value 1 causes the Advance LED light (
>>
|) to turn on, 0 to turn it off.
create_play_led [Category: Create Music/LED Function]
Format:
void
create_play_led(
int
on);
The value 1 causes the Play LED to turn on, 0 to turn it off.
create_play_song [Category: Create Music/LED Function]
Format:
void
create_play_song(
int
num);
Plays the specified song that has been loaded onto the Create.
Содержание KIPR Link
Страница 1: ...KIPR Link Manual Version BB2014 1 1...