1
0
This repository has been archived on 2025-11-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
contaminus/hardware/include/BME280.hpp
Jose 51db158354 Add hardware support for GPS, MAX7219, BME280, and MQ7 sensors
- Implemented GPS functionality with initialization and reading latitude and longitude.
- Added MAX7219 display support, including initialization, text display, animation control, and brightness settings.
- Integrated BME280 sensor for reading temperature, pressure, and humidity.
- Developed MQ7 sensor interface for reading gas concentration values.
- Created HTTP client for GET and POST requests.
- Implemented MQTT client for message handling and connection management.
- Added JSON serialization and deserialization functions for sensor and actuator data.
- Established WiFi connection setup for network communication.
2025-04-25 22:29:57 +02:00

8 lines
191 B
C++

#include <Wire.h>
#include <BME280I2C.h>
#define I2C_BME280_ADDRESS 0x76
void BME280_Init();
bool BME280_DataReady();
bool BME280_Read(float &pressure, float &temperature, float &humidity);