#include "serial.h"
void setup() {
init_serial();
pinMode(LED_BUILTIN, OUTPUT);
//Serial.setTimeout(10);
// put your setup code here, to run once:
Serial.println("Hellow world");
}
void loop() {
if(flagSerialRx)
flagSerialRx = SerialRx();
delay(5000);
// put your main code here, to run repeatedly:
}
void outputToggle(int pin)
{
digitalWrite(LED_BUILTIN,!digitalRead(pin));
}