Open everhamme opened 2 years ago
These are examples of how to make use of the accel for motion detection and timers for event scheduling. The callbacks allow a delay (first variable) and a period (second) for the call back to be executed. In this case, the callback simply controls when the GNSS module is awakened from sleep. So actually allows two duty cycles for GNSS, a slow and a fast periodic rate. Specific functionality is up to the user (you) to miplement. Not sure what else you might need to know.
On Tue, Oct 25, 2022 at 4:47 PM Ed Verhamme @.***> wrote:
can you provide better documentation for these parts of your code? the comments on the right may/may now match up with your documentation.. so just trying to understand the arguments here to these functions...
LoRaTimer.start(callbackLoRaTx, 300000, 600000); // 10 minute period, delayed 5 minutes
NoMotionActivityTimer.start(callbackNoMotionActivity, 100000, 7200000); // low freq (two hours) timer InMotionActivityTimer.start(callbackInMotionActivity, 100000, 7200000); // high freq (one minute) timer
— Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKQLG73P2WMB4BFK7T3WFBWPVANCNFSM6AAAAAAROOOL5U . You are receiving this because you are subscribed to this thread.Message ID: @.***>
can you provide better documentation for these parts of your code? the comments on the right may/may now match up with your documentation.. so just trying to understand the arguments here to these functions...