Skip to content

Commit

Permalink
1. Increase the baud rate for the Serial1 port between two Arduinos.
Browse files Browse the repository at this point in the history
  • Loading branch information
JMWinding committed Nov 13, 2023
1 parent 9683650 commit ef2619f
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Arduino/1Tx_gold/1Tx_gold.ino
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/1Tx_goldman/1Tx_goldman.ino
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/1Tx_plain0/1Tx_plain0.ino
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/2Tx_gold/2Tx_gold.ino
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/2Tx_goldman/2Tx_goldman.ino
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/3Tx_gold/3Tx_gold.ino
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/3Tx_goldman/3Tx_goldman.ino
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/4Tx_goldman/4Tx_goldman.ino
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/4Tx_goldman0/4Tx_goldman0.ino
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/4Tx_ooc0/4Tx_ooc0.ino
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/4Tx_plain0/4Tx_plain0.ino
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/5Tx_goldman/5Tx_goldman.ino
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/6Tx_goldman/6Tx_goldman.ino
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void setup ()
{
// initialize serial communication with computer:
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

// setup pins
for (int i = 0; i < nTx; i++)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/Rx/Rx.ino
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void setup ()
while (activated == 0)
{
Serial.begin (115200);
Serial1.begin (19200);
Serial1.begin (115200);

Serial.print ("\n\n\n\n\n");
Serial.print ("Initializing SD card...");
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This git repository is the artifact of the Sigcomm 2023 paper "Towards Practical

[![DOI](https://zenodo.org/badge/679340304.svg)](https://zenodo.org/badge/latestdoi/679340304)

Our code as well as data are both available, while documentation is still under construction.
Our code as well as data are both available.

## How to download this artifact?

Expand Down Expand Up @@ -75,6 +75,6 @@ Simply running these two scripts in sequence will generate all the reported figu
[`main_emulate_txrx.m`](/main_emulate_txrx.m) is a cleaner version of `main_emulates_txrx_allloop.m`, which is used to debug the algorithms with a single experiment trace.
[`main_sim_txrx.m`](/main_sim_txrx.m) is a main file which calls the simulation functions used in the early stage of this project. It has nothing to do with the experiment results though.
[`main_sim_txrx.m`](/main_sim_txrx.m) is a main file which calls the simulation functions used in the early stage of this project. It has nothing to do with the experiment results though, but to familiarize new users to the repository.
For more details about the scripts, please refer to [Processing the data](/documentation/data_process.md).

0 comments on commit ef2619f

Please sign in to comment.