Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
E
 ev3_button_pressed
 ev3_circle_lcd
 ev3_circle_lcd_out
 ev3_clear_lcd
 ev3_close_motor
 ev3_close_sensor
 ev3_command_motor
 ev3_command_motor_by_name
 ev3_delete_motors
 ev3_delete_sensors
 ev3_ellipse_lcd
 ev3_ellipse_lcd_out
 ev3_get_duty_cycle
 ev3_get_duty_cycle_sp
 ev3_get_led
 ev3_get_polarity
 ev3_get_position
 ev3_get_position_sp
 ev3_get_ramp_down_sp
 ev3_get_ramp_up_sp
 ev3_get_speed
 ev3_get_speed_sp
 ev3_get_time_sp
 ev3_init_buttion
 ev3_init_lcd
 ev3_init_led
 ev3_line_lcd
 ev3_load_motors
 ev3_load_sensors
 ev3_mode_sensor
 ev3_mode_sensor_by_name
 ev3_motor_state
 ev3_open_motor
 ev3_open_sensor
 ev3_quit_button
 ev3_quit_led
 ev3_rectangle_lcd
 ev3_rectangle_lcd_out
 ev3_reset_motor
 ev3_search_motor_by_identifier
 ev3_search_motor_by_port
 ev3_search_sensor_by_identifier
 ev3_search_sensor_by_port
 ev3_set_duty_cycle_sp
 ev3_set_led
 ev3_set_polarity
 ev3_set_position
 ev3_set_position_sp
 ev3_set_ramp_down_sp
 ev3_set_ramp_up_sp
 ev3_set_speed_sp
 ev3_set_time_sp
 ev3_stop_command_motor
 ev3_stop_command_motor_by_name
 ev3_text_lcd_large
 ev3_text_lcd_normal
 ev3_text_lcd_small
 ev3_text_lcd_tiny
 ev3_update_sensor_bin
 ev3_update_sensor_val
 ev3c_current
 ev3c_voltage
int32_t ev3_button_pressed(enum ev3_button_identifier button)
Tells you, whether the named button is pressed or not.
void ev3_circle_lcd(int32_t x,
int32_t y,
int32_t r,
int32_t bit)
Draws a filled circle
void ev3_circle_lcd_out(int32_t x,
int32_t y,
int32_t r,
int32_t bit)
Draws a circle frame
void ev3_clear_lcd()
Blanks the screen
void ev3_close_motor(ev3_motor_ptr motor)
Closes the motor.
void ev3_close_sensor(ev3_sensor_ptr sensor)
Closes the sensor.
ev3_motor_ptr ev3_command_motor(ev3_motor_ptr motor,
int32_t command)
Sets the command of the motor, e.g.
ev3_motor_ptr ev3_command_motor_by_name(ev3_motor_ptr motor,
char *command)
Sets the command of the motor, e.g.
void ev3_delete_motors(ev3_motor_ptr motors)
Deletes the linked list of available motors.
void ev3_delete_sensors(ev3_sensor_ptr sensors)
Deletes the linked list of available sensors.
void ev3_ellipse_lcd(int32_t x,
int32_t y,
int32_t rx,
int32_t ry,
int32_t bit)
Draws a filled ellipse
void ev3_ellipse_lcd_out(int32_t x,
int32_t y,
int32_t rx,
int32_t ry,
int32_t bit)
Draws a ellipse frame
int32_t ev3_get_duty_cycle(ev3_motor_ptr motor)
Returns the duty cycle of a motor
int32_t ev3_get_duty_cycle_sp(ev3_motor_ptr motor)
Returns the duty cycle set point of a motor
int32_t ev3_get_led(enum ev3_led_name led,
enum ev3_led_color color)
Returns the brightness of an led.
int32_t ev3_get_polarity(ev3_motor_ptr motor)
Returns the polarity of a motor
int32_t ev3_get_position(ev3_motor_ptr motor)
Returns the position of a motor
int32_t ev3_get_position_sp(ev3_motor_ptr motor)
Returns the position set point of a motor
int32_t ev3_get_ramp_down_sp(ev3_motor_ptr motor)
Returns the ramp down set point of a motor
int32_t ev3_get_ramp_up_sp(ev3_motor_ptr motor)
Returns the ramp up set point of a motor
int32_t ev3_get_speed(ev3_motor_ptr motor)
Returns the speed of a motor
int32_t ev3_get_speed_sp(ev3_motor_ptr motor)
Returns the speed set point of a motor
int32_t ev3_get_time_sp(ev3_motor_ptr motor)
Returns the time set point of a motor
Initializes the button functions.
void ev3_init_lcd()
Initializes the lcd.
void ev3_init_led()
Initializes the led functions.
void ev3_line_lcd(int32_t x0,
int32_t y0,
int32_t x1,
int32_t y1,
int32_t bit)
Draws a line
ev3_motor_ptr ev3_load_motors(void)
ev3_sensor_ptr ev3_load_sensors(void)
ev3_sensor_ptr ev3_mode_sensor(ev3_sensor_ptr sensor,
int32_t mode)
Sets the mode of the sensor, e.g.
ev3_sensor_ptr ev3_mode_sensor_by_name(ev3_sensor_ptr sensor,
char *mode)
Sets the mode of the sensor, e.g.
int32_t ev3_motor_state(ev3_motor_ptr motor)
Returns the state of the motor.
ev3_motor_ptr ev3_open_motor(ev3_motor_ptr motor)
Opens the motor to be used.
ev3_sensor_ptr ev3_open_sensor(ev3_sensor_ptr sensor)
Opens the sensor to be used.
void ev3_quit_button()
Finishes the work with the buttons.
void ev3_quit_led()
Finishes the work with the leds.
void ev3_rectangle_lcd(int32_t x,
int32_t y,
int32_t w,
int32_t h,
int32_t bit)
Draws a filled rectangle
void ev3_rectangle_lcd_out(int32_t x,
int32_t y,
int32_t w,
int32_t h,
int32_t bit)
Draws a rectangle frame
ev3_motor_ptr ev3_reset_motor(ev3_motor_ptr motor)
Reset the motor to a default state.
ev3_motor_ptr ev3_search_motor_by_identifier(
   ev3_motor_ptr motors,
   enum ev3_motor_identifier identifier,
   int32_t not_ready
)
Searches for a motor in the linked list identified with the identifier.
ev3_motor_ptr ev3_search_motor_by_port(ev3_motor_ptr motors,
char port)
Searches for a motor in the linked list identified with the port.
ev3_sensor_ptr ev3_search_sensor_by_identifier(
   ev3_sensor_ptr sensors,
   enum ev3_sensor_identifier identifier,
   int32_t not_ready
)
Searches for a sensor in the linked list identified with the identifier.
ev3_sensor_ptr ev3_search_sensor_by_port(ev3_sensor_ptr sensors,
int32_t port)
Searches for a sensor in the linked list identified with the port.
ev3_motor_ptr ev3_set_duty_cycle_sp(ev3_motor_ptr motor,
int32_t value)
Set the duty cycle set point of a motor.
void ev3_set_led(enum ev3_led_name led,
enum ev3_led_color color,
int32_t value)
Sets the brightness of an led.
ev3_motor_ptr ev3_set_polarity(ev3_motor_ptr motor,
int32_t value)
Set the polarity of a motor.
ev3_motor_ptr ev3_set_position(ev3_motor_ptr motor,
int32_t value)
Set the position of a motor.
ev3_motor_ptr ev3_set_position_sp(ev3_motor_ptr motor,
int32_t value)
Set the position set point of a motor.
ev3_motor_ptr ev3_set_ramp_down_sp(ev3_motor_ptr motor,
int32_t value)
Set the ramp down set point of a motor.
ev3_motor_ptr ev3_set_ramp_up_sp(ev3_motor_ptr motor,
int32_t value)
Set the ramp up set point of a motor.
ev3_motor_ptr ev3_set_speed_sp(ev3_motor_ptr motor,
int32_t value)
Set the speed set point of a motor.
ev3_motor_ptr ev3_set_time_sp(ev3_motor_ptr motor,
int32_t value)
Set the time set point of a motor.
ev3_motor_ptr ev3_stop_command_motor(ev3_motor_ptr motor,
int32_t stop_command)
Sets the stop_command of the motor, e.g.
ev3_motor_ptr ev3_stop_command_motor_by_name(ev3_motor_ptr motor,
char *stop_command)
Sets the stop_command of the motor, e.g.
void ev3_text_lcd_large(int32_t x,
int32_t y,
const char *text)
Draws text in a large font (each letter 16x16)
void ev3_text_lcd_normal(int32_t x,
int32_t y,
const char *text)
Draws text in a normal font (each letter 8x9)
void ev3_text_lcd_small(int32_t x,
int32_t y,
const char *text)
Draws text in a small font (each letter 8x8)
void ev3_text_lcd_tiny(int32_t x,
int32_t y,
const char *text)
Draws text in a tiny font (each letter 5x7)
void ev3_update_sensor_bin(ev3_sensor_ptr sensor)
Updates the raw values of the sensor.
void ev3_update_sensor_val(ev3_sensor_ptr sensor)
Updates the formated values of the sensor.
uint32_t ev3c_current()
Returns the current of the battery.
uint32_t ev3c_voltage()
Returns the voltage of the battery.
Close