switch serial pins as i dont want to change my pcb again :p
This commit is contained in:
parent
7ae7e6d8e3
commit
0d7b5527c1
2 changed files with 7 additions and 7 deletions
|
@ -48,18 +48,18 @@
|
|||
MAX485 => Arduino
|
||||
GND => GND
|
||||
VCC => 5V
|
||||
DI => 11
|
||||
DI => 9
|
||||
DE => 3
|
||||
RE => 2
|
||||
RO => 10
|
||||
RO => 8
|
||||
|
||||
MAX485 Nr 2 =>Arduino
|
||||
GND => GND
|
||||
VCC => 5V
|
||||
DI => 9
|
||||
DI => 11
|
||||
DE => 5
|
||||
RE => 4
|
||||
RO => 8
|
||||
RO => 10
|
||||
|
||||
TRACER => MAX485
|
||||
blue => B
|
||||
|
@ -80,8 +80,8 @@
|
|||
bool twoController = false;
|
||||
int twoControllerBoolPin = 7;
|
||||
|
||||
SoftwareSerial myserial(10, 11); // RX, TX
|
||||
SoftwareSerial myserial2(8, 9); // RX, TX
|
||||
SoftwareSerial myserial(8, 9); // RX, TX
|
||||
SoftwareSerial myserial2(10, 11); // RX, TX
|
||||
|
||||
|
||||
#define MAX485_DE 3
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import serial
|
||||
import time
|
||||
|
||||
ser = serial.Serial('/dev/ttyACM0', baudrate = 115200, timeout = 6)
|
||||
ser = serial.Serial('/dev/ttyUSB0', baudrate = 115200, timeout = 6)
|
||||
outfile = "epever-tracer.json"
|
||||
#time.sleep(3)
|
||||
|
||||
|
|
Loading…
Reference in a new issue