libnds
Functions
slot2gyro.h File Reference

Slot-2 gyro sensor. More...

#include <stdbool.h>
#include <stdint.h>

Functions

int peripheralSlot2GyroScan (void)
 Perform a gyro sensor scan. TODO: Test on hardware. More...
 

Detailed Description

Slot-2 gyro sensor.

Function Documentation

◆ peripheralSlot2GyroScan()

int peripheralSlot2GyroScan ( void  )

Perform a gyro sensor scan. TODO: Test on hardware.

Returns
The read value (0-4095), or -1 on failure.