mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-16 02:02:11 +02:00
Add comment to all example scripts showing how to change APIROOT
This commit is contained in:
@ -126,6 +126,9 @@ void setup() {
|
|||||||
openMetrics.setAirGradient(&ag);
|
openMetrics.setAirGradient(&ag);
|
||||||
localServer.setAirGraident(&ag);
|
localServer.setAirGraident(&ag);
|
||||||
|
|
||||||
|
/** Example set custom API root URL */
|
||||||
|
// apiClient.setApiRoot("https://example.custom.api");
|
||||||
|
|
||||||
/** Init sensor */
|
/** Init sensor */
|
||||||
boardInit();
|
boardInit();
|
||||||
|
|
||||||
|
@ -127,6 +127,9 @@ void setup() {
|
|||||||
openMetrics.setAirGradient(&ag);
|
openMetrics.setAirGradient(&ag);
|
||||||
localServer.setAirGraident(&ag);
|
localServer.setAirGraident(&ag);
|
||||||
|
|
||||||
|
/** Example set custom API root URL */
|
||||||
|
// apiClient.setApiRoot("https://example.custom.api");
|
||||||
|
|
||||||
/** Init sensor */
|
/** Init sensor */
|
||||||
boardInit();
|
boardInit();
|
||||||
|
|
||||||
|
@ -163,6 +163,9 @@ void setup() {
|
|||||||
openMetrics.setAirGradient(ag);
|
openMetrics.setAirGradient(ag);
|
||||||
localServer.setAirGraident(ag);
|
localServer.setAirGraident(ag);
|
||||||
|
|
||||||
|
/** Example set custom API root URL */
|
||||||
|
// apiClient.setApiRoot("https://example.custom.api");
|
||||||
|
|
||||||
/** Init sensor */
|
/** Init sensor */
|
||||||
boardInit();
|
boardInit();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user