The alarm code is available in both Arduino and CircuitPython version. They both work in the same general way, which is:
- Wait for a button to be pressed.
- Provide a countdown timer with the NeoPixels. (the diary should be placed on Circuit Playground during countdown)
- Read and store the value of the light sensor.
- Loop forever reading the light sensor value.
- If value exceeds the stored value from step 3, sound the alarm.
Page last edited March 08, 2024
Text editor powered by tinymce.