teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Committer:
brunofgc
Date:
Thu Jan 25 16:15:03 2018 +0000
Revision:
18:1eefda1f7736
Parent:
0:1c0a769988ee
Dando pau no Atakarejo (25/01/2018) por algum motivo congela tudo quando vai enviar.;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
brunofgc 0:1c0a769988ee 1 #include "mbed.h"
brunofgc 0:1c0a769988ee 2 #include "cmsis_os.h" //Nucleo do Real Time Operational System
brunofgc 0:1c0a769988ee 3 #include "main.h" //Funções e variáveis globais
brunofgc 0:1c0a769988ee 4 #include "funcoesSDCard.h"
brunofgc 0:1c0a769988ee 5 #include "devices.h"
brunofgc 0:1c0a769988ee 6 #include "devices.h"
brunofgc 18:1eefda1f7736 7 #define maxTentativasEnvioDados 5
brunofgc 0:1c0a769988ee 8
brunofgc 0:1c0a769988ee 9 namespace serialPC{
brunofgc 0:1c0a769988ee 10 //variáveis
brunofgc 0:1c0a769988ee 11 extern osTimerId timer_pacote; //ticker timer (Timer recursivo ISR) que processa pacotes entrantes da serial PC.
brunofgc 0:1c0a769988ee 12 extern bool startTimer_pacote;
brunofgc 0:1c0a769988ee 13
brunofgc 0:1c0a769988ee 14 //funções
brunofgc 0:1c0a769988ee 15 void serialPC_init(); //Função que faz a inicialização do recurso serial uart pc
brunofgc 0:1c0a769988ee 16 void isr_serialPC(); //Função que processa os caracteres entrantes da uart pc
brunofgc 0:1c0a769988ee 17 void processaPacotePC(void const *);
brunofgc 0:1c0a769988ee 18 }
brunofgc 0:1c0a769988ee 19
brunofgc 0:1c0a769988ee 20