1
TinyDuino Processors & TinyShields / TinyZero with Accelerometer & Wake from Sleep
« on: December 17, 2020, 01:14:24 PM »
Hi,
I just purchased a Tiny Zero with the built-in accelerometer. I would like to build a small app that goes into low-power mode and wakes up via an interrupt from the accelerometer if it detects significant movement.
I have the accelerometer working, but I'm looking for some sample code which puts it to sleep and codes the accelerometer to generate the interrupt appropriately. From what I read people were soldering connections to make INT1 work on the proto board, but I'm wondering about the TinyZero which has it all integrated on the same board.
Thanks for your help.
Steve
I just purchased a Tiny Zero with the built-in accelerometer. I would like to build a small app that goes into low-power mode and wakes up via an interrupt from the accelerometer if it detects significant movement.
I have the accelerometer working, but I'm looking for some sample code which puts it to sleep and codes the accelerometer to generate the interrupt appropriately. From what I read people were soldering connections to make INT1 work on the proto board, but I'm wondering about the TinyZero which has it all integrated on the same board.
Thanks for your help.
Steve