|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
-
-
- #include <Arduino.h>
- #include "HardwareSerial.h"
-
- #if defined(HAS_KINETISK_UART5) || defined (HAS_KINETISK_LPUART0)
-
- HardwareSerial6 Serial6(&serialEvent6);
-
- uint8_t _serialEvent6_default __attribute__((weak)) PROGMEM = 0 ;
-
- void HardwareSerial6::begin(uint32_t baud) {
- #if defined(__MK66FX1M0__)
- serial6_begin(baud);
- #else
- serial6_begin(BAUD2DIV3(baud));
- #endif
- if (!_serialEvent6_default) addToSerialEventsList();
- }
-
- #endif
|