-
-
- #include "core_pins.h"
- #include "HardwareSerial.h"
- #include "usb_serial.h"
- #include "usb_seremu.h"
-
- void yield(void) __attribute__ ((weak));
- void yield(void)
- {
- static uint8_t running=0;
-
- if (running) return;
- running = 1;
- if (Serial.available()) serialEvent();
- if (Serial1.available()) serialEvent1();
- if (Serial2.available()) serialEvent2();
- if (Serial3.available()) serialEvent3();
- running = 0;
- };
|