Added Uart1 example
This commit is contained in:
1 parent
48e312d076
commit
4a25398c1e
2 files changed
+3
-1
No files matched your search
@@ -14,8 +14,10 @@ void newUartUsage()
|
||||
{
|
||||
using namespace uart;
|
||||
Uart0<> serial;
|
||||
Uart1<> serial1;
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
+1
-1
Submodule uart/uart updated: 099be106a7...f0a3cd6da8.
Reference in new issue
Block a user