File tree 7 files changed +40
-40
lines changed
BLE Connectivity on Portenta H7/PortentaBLE
Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore
Portenta H7 as a WiFi Access Point/simpleWebServer
7 files changed +40
-40
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
- // the setup function runs once when you press reset or power the board
2
- void setup () {
3
- // initialize digital pin LED_BUILTIN as an output.
4
- pinMode (LEDG, OUTPUT);
5
- }
6
-
7
- // the loop function runs over and over again forever
8
- void loop () {
9
- digitalWrite (LEDG, HIGH ); // turn the LED on (HIGH is the voltage level)
10
- delay (500 ); // wait for a second
11
- digitalWrite (LEDG, LOW ); // turn the LED off by making the voltage LOW
12
- delay (500 ); // wait for a second
13
- }
1
+ // the setup function runs once when you press reset or power the board
2
+ void setup () {
3
+ // initialize digital pin LED_BUILTIN as an output.
4
+ pinMode (LEDG, OUTPUT);
5
+ }
6
+
7
+ // the loop function runs over and over again forever
8
+ void loop () {
9
+ digitalWrite (LEDG, LOW ); // turn the LED on (LOW is the voltage level)
10
+ delay (500 ); // wait for half a second
11
+ digitalWrite (LEDG, HIGH ); // turn the LED off by making the voltage HIGH
12
+ delay (500 ); // wait for half a second
13
+ }
Original file line number Diff line number Diff line change 1
- // the setup function runs once when you press reset or power the board
2
- void setup () {
3
- // initialize digital pin LED_BUILTIN as an output.
4
- bootM4 ();
5
- pinMode (LEDR, OUTPUT);
6
- }
7
-
8
- // the loop function runs over and over again forever
9
- void loop () {
10
- digitalWrite (LEDR, LOW); // turn the LED on (HIGH is the voltage level)
11
- delay (200 ); // wait for a second
12
- digitalWrite (LEDR, HIGH); // turn the LED off by making the voltage LOW
13
- delay (200 ); // wait for a second
14
- }
1
+ // the setup function runs once when you press reset or power the board
2
+ void setup () {
3
+ // initialize digital pin LED_BUILTIN as an output.
4
+ bootM4 ();
5
+ pinMode (LEDR, OUTPUT);
6
+ }
7
+
8
+ // the loop function runs over and over again forever
9
+ void loop () {
10
+ digitalWrite (LEDR, LOW); // turn the red LED on (LOW is the voltage level)
11
+ delay (200 ); // wait for 200 milliseconds
12
+ digitalWrite (LEDR, HIGH); // turn the LED off by setting the voltage HIGH
13
+ delay (200 ); // wait for 200 milliseconds
14
+ }
Original file line number Diff line number Diff line change 1
- // the setup function runs once when you press reset or power the board
2
- void setup () {
3
- // initialize digital pin LED_BUILTIN as an output.
4
- pinMode (LEDR, OUTPUT);
5
- }
6
-
7
- // the loop function runs over and over again forever
8
- void loop () {
9
- digitalWrite (LEDR, HIGH); // turn the LED on (HIGH is the voltage level)
10
- delay (200 ); // wait for a second
11
- digitalWrite (LEDR, LOW); // turn the LED off by making the voltage LOW
12
- delay (200 ); // wait for a second
13
- }
1
+ // the setup function runs once when you press reset or power the board
2
+ void setup () {
3
+ // initialize digital pin LED_BUILTIN as an output.
4
+ pinMode (LEDR, OUTPUT);
5
+ }
6
+
7
+ // the loop function runs over and over again forever
8
+ void loop () {
9
+ digitalWrite (LEDR, HIGH); // turn the LED off (HIGH is the voltage level)
10
+ delay (200 ); // wait for 200 milliseconds
11
+ digitalWrite (LEDR, LOW); // turn the LED on by making the voltage LOW
12
+ delay (200 ); // wait for 200 milliseconds
13
+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments