Added Uart1 example

This commit is contained in:
BlackMark 2019-07-30 21:51:47 +02:00
parent 48e312d076
commit 4a25398c1e
2 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ void newUartUsage()
{ {
using namespace uart; using namespace uart;
Uart0<> serial; Uart0<> serial;
Uart1<> serial1;
serial << "Hello World from RAM. " << F("Hello World from flash\r\n"); serial << "Hello World from RAM. " << F("Hello World from flash\r\n");
serial1 << "Hello World from RAM. " << F("Hello World from flash\r\n");
_delay_ms(1000); _delay_ms(1000);
} }

@ -1 +1 @@
Subproject commit 099be106a74689beddab26a630ab423d83200f41 Subproject commit f0a3cd6da8d6e7152064be2f1145cabba56c6e32