thingz.thingz_accel
Thingz accelerometer
- class thingz.thingz_accel.Accel
Control Galaxia’s accelerometer
- get_values() list
- Returns:
the acceleration values of the 3 axis in a list. Index 0 is X, 1 is Y, 2 is Z
- Return type:
- current_gesture() str
Get the current gesture. Can be on of the following value:
up
down
left
right
face up
face down
freefall
3g
6g
8g
shake
none
- Returns:
the current gesture
- Return type: