46 twi.
write((uint8_t) reg, &value,
sizeof(value));
83 outs <<
PSTR(
"L3G4200D(x = ") << value.
x 84 <<
PSTR(
", y = ") << value.
y 85 <<
PSTR(
", z = ") << value.
z
uint8_t Xen
< As bitfields.
IOStream & operator<<(IOStream &outs, L3G4200D &gyroscope)
uint8_t read(Register reg)
static const uint8_t AUTO_INC
int read(void *buf, size_t size)
uint8_t PD
Power down enable.
int write(void *buf, size_t size)
uint8_t Yen
Y axis enable.
uint8_t Zen
Z axis enable.
void acquire(TWI::Driver *dev)
void write(Register reg, uint8_t value)