This device doesn't have Serial Port available because the Leonardo board's Serial1 is used tu run the RS-232 and RS-485.
To solve the problem we have two solution:
1. Use a RS - 232 to Serial TTL convertor, taking into account that we won't be able to use RS-232 at the same time.
2. Use the library Software Serial to simulate the Serial Port.
For the Ardbox family all pins can be used for Tx while for Rx the following can be used, of Leonardo: pin 14 (SO), pin 15 (SCK) or pin 16 (SI). We recommend to use RX as digital pin 14 (SO) and connect it to the TX of the other device and TX as the digital pin 15 (SCK) connected at RX.
About This Community
|Asked: 10/15/18, 5:58 AM|
|Seen: 145 times|
|Last updated: 6/17/20, 9:47 AM|