12#include "Lightsensor.h"
A class to control a buzzer.
Definition Buzzer.h:19
A class for the SSD1306 OLED display, uses the ssd1306 library for low-level operations.
Definition Display.h:34
A class for the Texas Instruments HDC2021 digital temperature and humidity sensor.
Definition HDC2021.h:39
A class for the TDK InvenSense ICM-42670 6-axis accelerometer + gyroscope.
Definition ICM42670.h:29
A class to control simple red LED.
Definition Led.h:18
A class to configure and read the Vishay VEML6030 ambient light sensor.
Definition Lightsensor.h:34
A class to control a RGB LED.
Definition RGBLed.h:22
HDC2021 hdc2021
Temperature and humidity sensor.
Definition TKJHAT.h:62
Led led
Onboard LED.
Definition TKJHAT.h:44
Display display
Display module.
Definition TKJHAT.h:50
Button button2
Button 2 on the board.
Definition TKJHAT.h:41
ICM42670 icm42670
IMU sensor (accelerometer + gyroscope).
Definition TKJHAT.h:56
void begin()
Initialize all peripherals on the HAT Also initializes the default I2C bus for sensors and display.
Button button1
Button 1 on the board.
Definition TKJHAT.h:38
TKJHAT()
Construct a new TKJHAT object.
Buzzer buzzer
Buzzer output.
Definition TKJHAT.h:47
LightSensor lightSensor
Ambient light sensor.
Definition TKJHAT.h:59
RGBLed rgbLed
RGB LED.
Definition TKJHAT.h:53