t1000e: light and temp sensor support
This commit is contained in:
8
variants/t1000-e/t1000e_sensors.h
Normal file
8
variants/t1000-e/t1000e_sensors.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
// Light and temperature sensors are on ADC ports
|
||||
// functions adapted from Seeed examples to get values
|
||||
// see : https://github.com/Seeed-Studio/Seeed-Tracker-T1000-E-for-LoRaWAN-dev-board
|
||||
|
||||
extern uint32_t t1000e_get_light();
|
||||
extern float t1000e_get_temperature();
|
||||
Reference in New Issue
Block a user