Skip to content

Commit

Permalink
Merge pull request #5 from arduino-libraries/aliphys/includeFix
Browse files Browse the repository at this point in the history
Ensure that the `#include` refers to the correct library specification in the example sketches
  • Loading branch information
aliphys authored Jul 18, 2024
2 parents b226385 + 45f4a32 commit ed084d3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/BoardControl/BoardControl.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h"
#include "Arduino_NiclaSenseEnv.h"

void printDeviceInfo(NiclaSenseEnv& device) {
Serial.print("🔌 Device (0x");
Expand Down
2 changes: 1 addition & 1 deletion examples/ChangeI2CAddress/ChangeI2CAddress.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h"
#include "Arduino_NiclaSenseEnv.h"

void checkConnection(NiclaSenseEnv& device) {
if (device.connected()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/FactoryReset/FactoryReset.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h"
#include "Arduino_NiclaSenseEnv.h"

void setup() {
Serial.begin(115200);
Expand Down
2 changes: 1 addition & 1 deletion examples/IndoorAirQuality/IndoorAirQuality.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h"
#include "Arduino_NiclaSenseEnv.h"

void displaySensorData(IndoorAirQualitySensor& sensor) {
if (sensor.enabled()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/OrangeLED/OrangeLED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h"
#include "Arduino_NiclaSenseEnv.h"

void pulseLED(OrangeLED& led) {
// Fade in
Expand Down
2 changes: 1 addition & 1 deletion examples/OutdoorAirQuality/OutdoorAirQuality.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h"
#include "Arduino_NiclaSenseEnv.h"

void displaySensorData(OutdoorAirQualitySensor& sensor) {
if (sensor.enabled()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/RGBLED/RGBLED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h"
#include "Arduino_NiclaSenseEnv.h"

void pulseLED(RGBLED &led) {
Serial.println("🌈 RGB values: " + String(led.color().red) + ", " + String(led.color().green) + ", " + String(led.color().blue));
Expand Down
2 changes: 1 addition & 1 deletion examples/TemperatureHumidity/TemperatureHumidity.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Initial author: Sebastian Romero ([email protected])
*/

#include "NiclaSenseEnv.h" // Include the NiclaSenseEnv library
#include "Arduino_NiclaSenseEnv.h" // Include the NiclaSenseEnv library

void displaySensorData(TemperatureHumiditySensor& sensor) {
if (sensor.enabled()) {
Expand Down

0 comments on commit ed084d3

Please sign in to comment.