-
-
Notifications
You must be signed in to change notification settings - Fork 8
Referenced library wrapper #72
Changes from 6 commits
625d0bb
d1d02a7
c5221ca
a2bb9cb
0c2e861
c45ed3d
fcc7651
b595ac2
97dcc51
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,8 @@ Begin by plugging in your Portenta board to your computer using a USB-C cable an | |
## 2. Create the Web Server Sketch | ||
Next we need to create a web server sketch that will handle the HTTP GET requests and provide the client devices with the HTML web page. The [Wifi.h](https://www.arduino.cc/en/Reference/WiFi) library provides all necessary methods that allows Arduino boards to use their WiFi features provided by the on-board WiFi module. To set up the web server copy the following code, paste it into a new sketch file and name it **simpleWebServer.ino**. | ||
|
||
**Note:** You can access the final sketch inside the library: *Examples -> Arduino_Pro_Tutorials -> Portenta H7 as a WiFi Access Point -> simpleWebServer* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @marqdevx There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed here: arduino-libraries/Arduino_Pro_Tutorials#1
sebromero marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```cpp | ||
#include <WiFi.h> | ||
#include "arduino_secrets.h" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,9 @@ Let's program the Portenta with a sketch. We will also define a few helper funct | |
* Create a new sketch named `FlashKeyValue.ino` | ||
* Create a new file named `FlashIAPLimits.h` to store the helper functions in a reusable file. | ||
|
||
**Note:** Finished sketch its inside the tutorials library wrapper at: | ||
*Examples -> Arduino_Pro_Tutorials -> Storage -> Creating a Flash-Optimised Key-Value Store -> FlashKeyValueStore* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @marqdevx Why is this one in a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed here arduino-libraries/Arduino_Pro_Tutorials#1
sebromero marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## 3. Populate the Helper Functions | ||
First let's add the helper functions to the `FlashIAPLimits.h` header. This will determine the available Flash limits to allocate the custom data. | ||
|
||
|
@@ -283,4 +286,4 @@ It's not recommended to use the flash of the microcontroller as the primary stor | |
|
||
**Authors:** Giampaolo Mancini | ||
**Reviewed by:** Pablo Marquínez [2.12.2020] | ||
**Last revision:** Sebastian Romero [11.1.2021] | ||
**Last revision:** Sebastian Romero [11.1.2021] |
Uh oh!
There was an error while loading. Please reload this page.