Add ADC code to measure temperature. Supervisor not yet implemented
This commit is contained in:
10
firmware/include/ring-light/temp-adc.h
Normal file
10
firmware/include/ring-light/temp-adc.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef _TEMP_ADC_H_
|
||||
#define _TEMP_ADC_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void temperature_adc_init(void);
|
||||
|
||||
int32_t temperature_adc_get_temp(void);
|
||||
|
||||
#endif /* _TEMP_ADC_H_ */
|
Reference in New Issue
Block a user