This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create_at VARCHAR(20) NOT NULL, | |
received_data VARCHAR(20) NOT NULL, | |
serviceID VARCHAR(20) NOT NULL, | |
geracao_medicao_convertida_c1 FLOAT NOT NULL DEFAULT 0, | |
geracao_medicao_convertida_c2 FLOAT NOT NULL DEFAULT 0, | |
geracao_medicao_convertida_c3 FLOAT NOT NULL DEFAULT 0, | |
geracao_medicao_raw_c1 INTEGER NOT NULL DEFAULT 0, | |
geracao_medicao_raw_c2 INTEGER NOT NULL DEFAULT 0, | |
geracao_medicao_raw_c3 INTEGER NOT NULL DEFAULT 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* For Arduino IDE | |
*/ | |
void function(); | |
void setup() | |
{ | |
//TODO | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <termios.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/signal.h> | |
#include <fcntl.h> | |
#include <stdint.h> |