SENS


twi

General purpose I2C/TWI read.

Example:

leaps> twi

Usage: twi <addr> <reg> [bytes to read (1 or 2)]

leaps> twi 0x33 0x0f

twi: addr=0x33, reg[0x0f]=0x33

aid

Read ACC device ID

Example:

leaps> aid

acc: 0x33

av

Read ACC values.

Example:

leaps> av

acc: x = 240, y = -3792, z = 16240

leaps> av

acc: x = 32, y = -3504, z = 15872

leaps> av

acc: x = 160, y = -3600, z = 16144

scs

Stationary configuration set. Sets sensitivity (valid args are 0,1,2).

Example:

leaps> scs 1

ok

leaps> scs 4

error: invalid arg

scg

Stationary configuration get.

Example:

leaps> scg

sensitivity=1