Commit e1d30b02 authored by Sebastián Fernández's avatar Sebastián Fernández

actualizando diagramas de flujo de sw

parent fbb175fd
No preview for this file type
......@@ -186,7 +186,7 @@ const int relay_pin = 2;
// EEPROM
#define ADD_UVC_SENSOR_PRESENT 0 // 1 is sensor present, 0 if not present
#define ADD_ADC_RAW_DEF 4 // store default radiation power (4 bytes)
#define ADD_ADC_MIN 8 // store last radiation power (4 bytes)
#define ADD_ADC_RAW_MIN 8 // store min radiation power (4 bytes)
#define ADD_ON_TIME 12 // store UVC_LIGHT_ON on minutes (4 bytes)
#define ADD_ON_CYCLE 16 // store UVC_LIGHT ON Cycles (4 bytes)
#define ADD_CAL_G 20 // address 3 and 4 store Calibration parameter 1 (4 bytes)
......@@ -580,7 +580,7 @@ void setup() {
Serial.println((String)"Sensor UVC presente : "+uvc_sensor_present);
EEPROM.get(ADD_ADC_RAW_DEF, uvc_read_def);
Serial.println((String)"uvc_read_def : "+uvc_read_def);
EEPROM.get(ADD_ADC_MIN, uvc_read_min);
EEPROM.get(ADD_ADC_RAW_MIN, uvc_read_min);
Serial.println((String)"stored uvc_read_min : "+uvc_read_min);
delay(20);
EEPROM.get(ADD_ON_TIME, fvar);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment