This commit is contained in:
FluffyCube9343 2022-08-10 09:06:44 -04:00
commit 20fb91d9e7
2 changed files with 8 additions and 7 deletions

View File

@ -11,6 +11,7 @@ String incomingBytes2 = "";
int readPls = 0;
void setup() {
Serial3.begin(115200);Serial2.begin(115200);Serial.begin(115200); // opens serial port, sets data rate to 9600 bps
delay(8000); //8 second delay to wait for RPi to run, avoids port busy error on RPi.
}
void loop() {

View File

@ -44,25 +44,25 @@ chmod 777 /dev/ttyACM*
5. Open Arduino IDE and upload `blank/blank.ino` to all Arduinos.
**Do not open serial monitor until steps 6-8 are done**
**Do not open serial monitor on any Arduino**
6. Upload `SlaveCode/SlaveCode.ino` or `SlaveFakeCode/SlaveFakeCode.ino` to the Slave Arduinos in Arduino IDE
7. Upload `MasterCode/MasterCode.ino` to the Master Arduino in Arduino IDE
8. `Cd` into `RPi/`
7. `Cd` into `RPi/`
```
cd RPi/
```
9. Install pyserial
8. Install pyserial
```
pip3 install pyserial
```
9. Upload `MasterCode/MasterCode.ino` to the Master Arduino in Arduino IDE
10. Run the python code.
```