This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
analog sensors and ADC_MODE
rfm69
Lazar Obradovic
6 years ago
parent
4d1d32a55e
commit
81fb3f0e64
4 changed files
with
14 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
code/espurna/config/sensors.h
+4
-0
code/espurna/sensors/EmonAnalogSensor.h
+5
-0
code/espurna/sensors/GUVAS12SDSensor.h
+5
-0
code/espurna/sensors/TMP3XSensor.h
+ 0
- 4
code/espurna/config/sensors.h
View File
@ -530,10 +530,6 @@
#
define ADC_VCC_ENABLED 1
#
endif
#
if ADC_VCC_ENABLED
ADC_MODE
(
ADC_VCC
)
;
#
endif
/
/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
/
/
Class
loading
/
/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 4
- 0
code/espurna/sensors/EmonAnalogSensor.h
View File
@ -7,6 +7,10 @@
#
pragma once
#
if ADC_VCC_ENABLED
ADC_MODE
(
ADC_VCC
)
;
#
endif
#
include
"Arduino.h"
#
include
"EmonSensor.h"
+ 5
- 0
code/espurna/sensors/GUVAS12SDSensor.h
View File
@ -8,6 +8,11 @@
#
pragma once
#
if ADC_VCC_ENABLED
ADC_MODE
(
ADC_VCC
)
;
#
endif
#
include
"Arduino.h"
#
include
"BaseSensor.h"
+ 5
- 0
code/espurna/sensors/TMP3XSensor.h
View File
@ -7,6 +7,11 @@
#
pragma once
#
if ADC_VCC_ENABLED
ADC_MODE
(
ADC_VCC
)
;
#
endif
#
include
"Arduino.h"
#
include
"BaseSensor.h"
Write
Preview
Loading…
Cancel
Save