Hello,
I have some difficulties with Qwiic_PIR (1uA (EKMB1107112) ) breakout on I2C
First point :
=========
I am running the “exemple3 - Queue_usage”. When I use the function popDetectedQueue() it is like it does nothing. No value is removed from the queue. The following code goes to an infinite loop :
while (!pir.isDetectedQueueEmpty()) {
pir.popDetectedQueue() ;
}
My need is to count event in the queue and clear the queue. There is also no function for clearing the queue.
Firmware version is 0x100 (result in HEX) value from getFirmwareVersion() - Firmware version on GitHub is 0x101
Second point :
============
According to firmware code on Github, sleep mode is the default mode and ATTiny is only wake up by Interrupt, so current consumption must be around 10uA most of the time. The current used by the breakout is always near 1.3mA.
Hope you can have an idea about what is wrong.
Jérôme from France
I can not offer a beer as I am too far but I like sparkfun products ! This is very good quality