Skip to content

Commit 49636b5

Browse files
authored
Merge pull request #10 from arduino-libraries/revamp-fixes
Update information in example sketch documentation
2 parents 03cd960 + db0fd59 commit 49636b5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: examples/Standby_WakeFromPin/Standby_WakeFromPin.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This sketch is universal and worksn on both Portenta C33 and H7.
66
77
On the the Portenta C33 you can select any of the supported pins (A0, A1, A2, A3, A4, A5, D4, D7) to wake up the board from standby mode,
8-
but on the Portenta H7 only GPIO0 can be used to wake up the board from standby mode. GPIO0 is available trough the High Density Connectors and you need a breakout board to access it.
8+
but on the Portenta H7 only GPIO0 can be used to wake up the board from standby mode. GPIO0 is available through the High Density Connectors and you need a breakout board to access it.
99
1010
Requirements:
1111
- Arduino Portenta C33, Arduino Portenta H7

Diff for: examples/Standby_WakeFromRTC_C33/Standby_WakeFromRTC_C33.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
This example demonstrates how to wake up the Portenta C33 from standby mode using the included RTC (Real Time Clock).
55
The device will go to sleep for 1 second and then wake up. When the device is awake you will see the board's blue LED turned on.
6-
Effectivelly, you will get the same effect as with blink.
6+
Effectively, you will get the same effect as with blink.
77
88
On the Portenta C33 with the peripherals turned off you can expect around 60uA of current consumption in standby mode.
99
The example also turns off the peripherals before going to sleep and turns them back on after waking up.
@@ -62,7 +62,7 @@ void setup() {
6262

6363
board.enableWakeupFromRTC(0, 0, 10); // Sleep for 10 seconds
6464

65-
delay(10000); // Keep the board awake for 1 second, so we can se it working
65+
delay(10000); // Keep the board awake for 10 seconds, so we can se it working
6666

6767
board.shutDownFuelGauge();
6868
board.setAllPeripheralsPower(false);

Diff for: examples/Standby_WakeFromRTC_H7/Standby_WakeFromRTC_H7.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ void setup() {
5555
}
5656
}
5757

58-
delay(10000); // keep the board awake for 5 seconds, so we can se it working
58+
delay(10000); // keep the board awake for 10 seconds, so we can se it working
5959
board.shutDownFuelGauge();
6060

6161

62+
6263
// The LED should go off when the board goes to sleep
6364
board.setAllPeripheralsPower(false);
6465

0 commit comments

Comments
 (0)