Actualizacion General del codigo para CCN con el objetivo de proveer mantenimiento estable.

Dependencies:   BufferedSerial

Revision:
1:c7bcbf5eac28
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lidar_tfminiplus.hpp	Mon May 24 01:42:28 2021 -0600
@@ -0,0 +1,35 @@
+/**
+ * @file lidar_tfminiplus.hpp
+ * @author Felícito Manzano (felicito.manzano@detektor.com.sv)
+ * @brief 
+ * @version 0.1
+ * @date 2021-05-23
+ * 
+ * @copyright Copyright (c) 2021
+ * 
+ */
+
+
+#ifndef __LIDAR_TF_MINI_PLU_HPP
+#define __LIDAR_TF_MINI_PLU_HPP
+
+    // CONSTANTES LIDAR
+    extern const char   LIDAR_EXTERNAL_TRIGGER[9];
+    extern const char   LIDAR_GI_CONFIGURATION[9];
+    extern const char   LIDAR_GO_CONFIGURATION[9];
+    extern const char   LIDAR_CHANGE_OUTPUT_1S[9];
+    extern const char   LIDAR_SET_DISTANCE_500[9];
+    extern const char   LIDAR_SET_EXTERNAL_TRI[9];
+    extern const char   TFMINIPLUS_UPDATE_RATE[7];
+    extern const char   TFMINIPLUS_TRIGGER_EXT[5];
+    extern const int    LIDAR_BYTE0;
+    extern const int    DISTANCIA_VACIO;
+    extern const int    DECLARAR_LIDAR_VACIO;
+    extern const int    LIDAR_ERROR;
+
+    int leer_lidar(BufferedSerial *puerto_lidar, char mybuffer[18]);
+    bool parsear_lidar(char mybuffer[18], int *lidar_dist);
+
+
+
+#endif // __LIDAR_TF_MINI_PLU_HPP
\ No newline at end of file