Alora Sensor Kit class. Main class for reading sensor on Alora board
#include <Arduino.h>
#include <Wire.h>
#define ENABLE_PIN 16
#define ENABLE_PIN_ACTIVE_LOGIC HIGH
void setup() {
Serial.begin(9600);
sensorKit.begin();
}
void loop() {
sensorKit.run();
Serial.print("Temperature data:");
Serial.println(sensorData.
T1);
Serial.println("Humidity data:");
Serial.println(sensorData.
H1);
delay(1000);
}