Wondering how I can configure this device to fire an interrupt on significant motion, per page 45 of the datasheet (here)?
The goal is to be able to set an alarm in CPy to wake when pin D3 is set high - according to the schematics for the Feather Sense (which I'm developing on), this is the GPIO connected with INT1 on the LSM6DS33.
Something like
pin_alarm = alarm.pin.PinAlarm(pin=board.D3, value=True, pull=True)
alarm.light_sleep_until_alarms(pin_alarm)
The datasheet seems to indicate that setting register 0x0D on the device to 64 (bin 01000000) will accomplish this.
Thoughts?
Wondering how I can configure this device to fire an interrupt on significant motion, per page 45 of the datasheet (here)?
The goal is to be able to set an alarm in CPy to wake when pin D3 is set high - according to the schematics for the Feather Sense (which I'm developing on), this is the GPIO connected with INT1 on the LSM6DS33.
Something like
The datasheet seems to indicate that setting register
0x0Don the device to 64 (bin 01000000) will accomplish this.Thoughts?