libwallaby  v23
The wallaby standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
wait_for.h File Reference
#include "export.h"
#include "vtable.h"

Go to the source code of this file.

Functions

VF EXPORT_SYM void wait_for_milliseconds (long msecs)
 
VF EXPORT_SYM void wait_for_touch (int port)
 
VF EXPORT_SYM void wait_for_a_button ()
 
VF EXPORT_SYM void wait_for_b_button ()
 
VF EXPORT_SYM void wait_for_c_button ()
 
VF EXPORT_SYM void wait_for_x_button ()
 
VF EXPORT_SYM void wait_for_y_button ()
 
VF EXPORT_SYM void wait_for_z_button ()
 
VF EXPORT_SYM void wait_for_side_button ()
 
VF EXPORT_SYM void wait_for_any_button ()
 
VF EXPORT_SYM void wait_for_a_button_clicked ()
 
VF EXPORT_SYM void wait_for_b_button_clicked ()
 
VF EXPORT_SYM void wait_for_c_button_clicked ()
 
VF EXPORT_SYM void wait_for_x_button_clicked ()
 
VF EXPORT_SYM void wait_for_y_button_clicked ()
 
VF EXPORT_SYM void wait_for_z_button_clicked ()
 
VF EXPORT_SYM void wait_for_side_button_clicked ()
 

Function Documentation

VF EXPORT_SYM void wait_for_a_button ( )

Waits (blocks) until the a button has been pressed.

VF EXPORT_SYM void wait_for_a_button_clicked ( )

Waits (blocks) until the a button has been pressed and then subsequently released.

VF EXPORT_SYM void wait_for_any_button ( )

Waits (blocks) until any system button has been pressed.

VF EXPORT_SYM void wait_for_b_button ( )

Waits (blocks) until the b button has been pressed.

VF EXPORT_SYM void wait_for_b_button_clicked ( )

Waits (blocks) until the b button has been pressed and then subsequently released.

VF EXPORT_SYM void wait_for_c_button ( )

Waits (blocks) until the c button has been pressed.

VF EXPORT_SYM void wait_for_c_button_clicked ( )

Waits (blocks) until the c button has been pressed and then subsequently released.

VF EXPORT_SYM void wait_for_milliseconds ( long  msecs)

Waits (blocks) for the given number of milliseconds.

Parameters
msecsthe number of milliseconds to sleep
VF EXPORT_SYM void wait_for_side_button ( )

Waits (blocks) until the side button has been pressed.

VF EXPORT_SYM void wait_for_side_button_clicked ( )

Waits (blocks) until the side button has been pressed and then subsequently released.

VF EXPORT_SYM void wait_for_touch ( int  port)

Waits (blocks) until the digital sensor on the given port has been activated.

Parameters
portThe port to wait for activation on
VF EXPORT_SYM void wait_for_x_button ( )

Waits (blocks) until the x button has been pressed.

VF EXPORT_SYM void wait_for_x_button_clicked ( )

Waits (blocks) until the x button has been pressed and then subsequently released.

VF EXPORT_SYM void wait_for_y_button ( )

Waits (blocks) until the y button has been pressed.

VF EXPORT_SYM void wait_for_y_button_clicked ( )

Waits (blocks) until the y button has been pressed and then subsequently released.

VF EXPORT_SYM void wait_for_z_button ( )

Waits (blocks) until the z button has been pressed.

VF EXPORT_SYM void wait_for_z_button_clicked ( )

Waits (blocks) until the z button has been pressed and then subsequently released.