libkipr  1.0.0
botball.h File Reference
Include dependency graph for botball.h:

Go to the source code of this file.

Functions

EXPORT_SYM void shut_down_in (double s)
 
EXPORT_SYM void wait_for_light (int light_port_)
 

Function Documentation

◆ shut_down_in()

EXPORT_SYM void shut_down_in ( double  s)

Register an event to stop the user program after s seconds

Parameters
[in]sThe number of seconds to wait before the end of program

◆ wait_for_light()

EXPORT_SYM void wait_for_light ( int  light_port_)

Initiate a calibration and wait for light sequence which is a normal early step in Botball programs

Parameters
[in]light_port_The analog port and light sensor to use.