microsoft / azure-iot-developer-kit

A curated list of awesome Azure IoT Developer Kit projects and resources.
MIT License
94 stars 57 forks source link

There aren't any docs on using the second Serial port #491

Closed jimbobbennett closed 4 years ago

jimbobbennett commented 5 years ago

As the title really.

There are no docs on how to enable the second serial port to stream data from a connected device. It would be good to cover how to do this, then refer to the Arduino Serial docs.

// Declare a new Serial using the second serial port
UARTClass Serial1(UART_1);

I'm happy to write these docs if it is agreed they are needed.

liydu commented 5 years ago

@jimbobbennett , that will be fantastic. Please let me know if you have PR for this and we can merge it back to the official doc.

jimbobbennett commented 4 years ago

@liydu - PR raised with some docs. Let me know your thoughts.