From e859fcda76f33213ab184408bfe38c9beb960f3b Mon Sep 17 00:00:00 2001
From: Sebastian Fernandez <sebfer@fing.edu.uy>
Date: Wed, 29 Apr 2020 08:50:00 -0300
Subject: [PATCH] ajustes menores

---
 README.md                                            | 3 ++-
 sw/prototipo_0/uv_meter_arduino/uv_meter_arduino.ino | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index cef2d5f..e33eeae 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,8 @@
 ### Caja
 
 ### Plataforma
- Arduino mini o ESP32
+ Prime prototipo: ESP-WROOM-32 con WiFi 
+ Para producción: Arduino mini
 
 ### Sensor UV
 #### Sensores que existen en Uruguay.
diff --git a/sw/prototipo_0/uv_meter_arduino/uv_meter_arduino.ino b/sw/prototipo_0/uv_meter_arduino/uv_meter_arduino.ino
index 00b03ec..d32aef5 100644
--- a/sw/prototipo_0/uv_meter_arduino/uv_meter_arduino.ino
+++ b/sw/prototipo_0/uv_meter_arduino/uv_meter_arduino.ino
@@ -4,6 +4,7 @@
  * 
  * Plataformas:
  *  - ESP32 de ESPRESSIF
+ *    En IDE seleccionar ESP32 Dev Module, CPU Freq, 240MHz
  * 
  * v0.1
  * 
@@ -107,8 +108,8 @@ int send_passed = 0; // Time passed after data was sent, milliseconds.
 // define the number of byte needed
 #define ADD_POWER   0  // address 0 and 1 store radiation power (16 bits)
 #define ADD_ON_TIME 2  // address 1 and 2 store TIME on decens of minutes (16 bits)
-#define ADD_CAL_1   4  // address 3 and 4 store Calibration parameter 1 (16 bits)
-#define ADD_CAL_2   6  // address 5 and 6 store Calibration parameter 1 (16 bits)
+#define ADD_CAL_G   4  // address 3 and 4 store Calibration parameter Gain (16 bits)
+#define ADD_CAL_O   6  // address 5 and 6 store Calibration parameter Offset (16 bits)
 #define EEPROM_SIZE 8  //
 
 // UV metering 
-- 
GitLab