Skip to content

Commit 7695fa1

Browse files
committed
download cloud file 2
1 parent 2befb1c commit 7695fa1

File tree

1 file changed

+5
-3
lines changed
  • content/hardware/06.nicla/boards/nicla-sense-env/tutorials/environmental-monitor-application-note

1 file changed

+5
-3
lines changed

content/hardware/06.nicla/boards/nicla-sense-env/tutorials/environmental-monitor-application-note/content.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ In this section, we will connect the environmental monitor to Arduino Cloud. The
622622

623623
***If you are new to Arduino Cloud, please check out [this tutorial](https://docs.arduino.cc/arduino-cloud/guides/overview/).***
624624

625-
Please, begin by creating a new Thing in your Arduino Cloud with the following variables:
625+
Please, begin by creating a new **Thing** in your Arduino Cloud with the following variables:
626626

627627
- cloudTemperature
628628
- cloudHumidity
@@ -632,7 +632,9 @@ Please, begin by creating a new Thing in your Arduino Cloud with the following v
632632

633633
All of the variables must be **`float`** type, have **`Read Only`** permission and a **`On Change`** update policy.
634634

635-
The complete example sketch is shown below.
635+
On the `thingProperties.h` header, update your Wi-Fi credentials (SSID and PASS).
636+
637+
The complete example sketch is shown below and can be downloaded from [here](assets/cloud_air_quality_monitor.zip).
636638

637639
```arduino
638640
/**
@@ -880,7 +882,7 @@ void readSensors() {
880882
// Update RGB LED color based on AQI
881883
if (airQualityIndex <= 50) {
882884
rgbLED.setColor(0, 255, 0); // Green for good air quality
883-
} else if (airQualityIndex <= 100) {
885+
} else if (airQualityIndex <= 150) {
884886
rgbLED.setColor(255, 255, 0); // Yellow for moderate air quality
885887
} else {
886888
rgbLED.setColor(255, 0, 0); // Red for unhealthy air quality

0 commit comments

Comments
 (0)