From 099ae64ad3230c5aa5b58ffbbf385520f64419a8 Mon Sep 17 00:00:00 2001 From: Amit Aryeh Levy Date: Fri, 20 Sep 2024 11:23:49 -0700 Subject: [PATCH] Add example output to multi_alarm_simple_overflow README --- .../multi_alarm_simple_overflow_test/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/examples/tests/multi_alarm_simple_overflow_test/README.md b/examples/tests/multi_alarm_simple_overflow_test/README.md index 63e28db28..bb5d8209d 100644 --- a/examples/tests/multi_alarm_simple_overflow_test/README.md +++ b/examples/tests/multi_alarm_simple_overflow_test/README.md @@ -11,3 +11,21 @@ is at 32kHz). If the virtual alarm library is buggy, this test might fail by scheduling the 1 second alarm _after_ the longer wrapping alarm, and it won't fire immediately. + +# Example Output + +Correct: + +``` +2 10512380 10511329 +1 3 1 +``` + +Incorrect: + +(after no output for an entire clock overflow, e.g. ~7 minutes) + +``` +1 3 1 +2 10512341 10511329 +```