Added Uart1 example
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule uart/uart updated: 099be106a7...f0a3cd6da8
Reference in New Issue
Block a user