Arduino TKJHAT
Arduino library for Pico HAT extension board
Loading...
Searching...
No Matches
TKJHAT.h
1#ifndef TKJHAT_H
2#define TKJHAT_H
3
4#include <Arduino.h>
5
6#include "Button.h"
7#include "Led.h"
8#include "Buzzer.h"
9#include "Display.h"
10#include "RGBLed.h"
11#include "ICM42670.h"
12#include "Lightsensor.h"
13#include "HDC2021.h"
14
34
77
78#endif
A class to handle a push button connected to the TKJHAT board.
Definition Button.h:25
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