You've already forked ArduinoLowPower
mirror of
https://github.com/arduino-libraries/ArduinoLowPower.git
synced 2025-06-30 08:21:48 +03:00
Correct typos in comments and documentation
This commit is contained in:
@ -4,16 +4,16 @@
|
||||
Written by Chiara Ruggeri (chiara@arduino.org)
|
||||
|
||||
This example for the Arduino Primo board shows how to use
|
||||
low power library to enter in power off mode and save power.
|
||||
This mode ensure the deepest power saving mode. If you need
|
||||
Arduino Low Power library to enter in power off mode and save power.
|
||||
This mode ensures the deepest power saving mode. If you need
|
||||
a faster response from the board use standby function instead.
|
||||
|
||||
Please note that once exited from the deepest sleep mode the
|
||||
board will reset (so setup will be run again).
|
||||
|
||||
The functions enableWakeupFrom set the peripheral that will wake up
|
||||
the board. By calling it more than once you can choose more than
|
||||
a wakeup source.
|
||||
the board. By calling it more than once you can choose multiple
|
||||
wakeup sources.
|
||||
The board will be reset when it wakes up from power off.
|
||||
You can use wakeUpCause() function to find out what signals woke up
|
||||
the board if you use more than one wakeUpBy.. function.
|
||||
@ -27,7 +27,7 @@
|
||||
// Pin used to wakeup the board
|
||||
const int digitalPin = 10;
|
||||
|
||||
// Pin used in Compatarot module to wake up the board
|
||||
// Pin used in Comparator module to wake up the board
|
||||
const int analogPin = A0;
|
||||
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
/*
|
||||
TianStandby
|
||||
|
||||
This sketch demonstrates the usage of SAMD chip to furtherly reduce the power usage of Tian
|
||||
This sketch demonstrates the usage of SAMD chip to further reduce the power usage of the Tian
|
||||
board. This method can be applied to any board with companion chips which expose a method
|
||||
(via direct pin interrupt or via a command) to enter and exit standby.
|
||||
Sleep modes allow a significant drop in the power usage of a board while it does nothing waiting for an event to happen. Battery powered application can take advantage of these modes to enhance battery life significantly.
|
||||
Sleep modes allow a significant drop in the power usage of a board while it does nothing waiting for an event to happen. Battery powered applications can take advantage of these modes to enhance battery life significantly.
|
||||
|
||||
In this sketch, the internal RTC of SAMD chip will wake up the processor every 20 seconds.
|
||||
In this sketch, the internal RTC of the SAMD chip will wake up the processor every 20 seconds.
|
||||
Before going to sleep, the SAMD chip tells the MIPS CPU to standby too.
|
||||
Please note that, if the processor is sleeping, a new sketch can't be uploaded. To overcome this, manually reset the board (usually with a single or double tap to the RESET button)
|
||||
|
||||
|
Reference in New Issue
Block a user