libnds
|
Slot-2 tilt sensor. More...
#include <stdbool.h>
#include <stdint.h>
Functions | |
bool | peripheralSlot2TiltRead (slot2TiltPosition *data) |
Read the tilt sensor values, if the sensor measurement has finished. | |
bool | peripheralSlot2TiltStart (void) |
Start a new tilt sensor measurement. This is required before a successful read can be performed. | |
Slot-2 tilt sensor.
bool peripheralSlot2TiltRead | ( | slot2TiltPosition * | data | ) |
Read the tilt sensor values, if the sensor measurement has finished.
data | Tilt sensor position data. |
bool peripheralSlot2TiltStart | ( | void | ) |
Start a new tilt sensor measurement. This is required before a successful read can be performed.