You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Print device information once after initialization
282
282
printDeviceInfo();
283
283
} else {
284
-
Serial.println("Failed to initialize the device. Please check the connection!");
284
+
Serial.println("- Failed to initialize the device. Please check the connection!");
285
285
}
286
286
}
287
287
@@ -519,7 +519,7 @@ You can download the example sketch [here](assets/nicla_sense_env_low_power_mode
519
519
520
520
## LEDs
521
521
522
-
This section of the user manual explains how to control both the onboard orange and RGB and LEDs on the Nicla Sense Env board using the `Arduino_NiclaSenseEnv` library API. The LEDs can be used to provide visual feedback for various operations, such as indicating status, warnings, or sensor errors. This section covers the basic usage of both LEDs, including turning them on, changing colors, and adjusting brightness.
522
+
This section of the user manual explains how to control both the onboard orange and RGB and LEDs of the Nicla Sense Env board using the `Arduino_NiclaSenseEnv` library API. The LEDs can be used to provide visual feedback for various operations, such as indicating status, warnings, or sensor errors. This section covers the basic usage of both LEDs, including turning them on, changing colors, and adjusting its brightness.
523
523
524
524

525
525
@@ -591,6 +591,8 @@ Here is a detailed breakdown of the example sketch shown before and the `Arduino
591
591
592
592
After uploading the example sketch to the Nicla Sense Env board, you should see the orange LED smoothly increase and decrease in brightness, creating a continuous pulsing effect.
593
593
594
+

595
+
594
596
You can download the example sketch [here](assets/nicla_sense_env_orange_led_control_example.zip).
595
597
596
598
### RGB LED
@@ -599,7 +601,7 @@ The onboard RGB LED on the Nicla Sense Env board can be controlled using the `Ar
599
601
600
602
```arduino
601
603
/**
602
-
RGB LED Control Example for Nicla Sense Env (with brightness control)
Purpose: This sketch demonstrates how to control the RGB LED by setting
605
607
different colors and ensuring brightness control using the Arduino_NiclaSenseEnv library.
@@ -670,6 +672,10 @@ After uploading the example sketch to the Nicla Sense Env board, you should see
670
672
671
673

672
674
675
+
You should also see the onboard RGB LED of your Nicla Sense Env board turn on red for one second, then green for one second, then blue for one second, and finally turn off, repeating this cycle.
676
+
677
+

678
+
673
679
You can download the example sketch [here](assets/nicla_sense_env_rgb_led_control_example_brightness.zip).
0 commit comments