Commit b9e98666 authored by Elina Nguyen-Cadoret's avatar Elina Nguyen-Cadoret
Browse files

add content week 14

parent 77d0f08d
Pipeline #228578 passed with stage
in 47 seconds
......@@ -42,6 +42,26 @@ Once we have downloaded the code on our respective boards we could send messages
This group assingment helped us to discover the difference between Serial1 and Serial2. The board of Theo was plugged on RX1 and TX1, the pins 30 and 31 from the SAMD11C, the board of Elina was plugged on the pins RX2 and TX2, which are the pins 4 and 5. In that way we saw that to make the communciation between our 2 boards, Elina needed to use Serial2, and Theo Serial1.
Here is the code flashed on Elina's board.
void setup() {
Serial2.begin(115200, SERIAL_8E2);
void loop() {
if (SerialUSB.available()) {
if (Serial2.available()) {
## File
- [Arduino code.ino](../files/Group_test1.ino)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment