-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I am trying to convert you code to use software serial, so I can use it the the analyzer board I built based on Zapta's project (https://github.com/zapta/linbus/tree/master/analyzer)
It uses a ATA6631 Lin Transceiver with the RX pin hooked do D2 and TX hooked to C2 (Analog 2, but used at digital)
Goal is to be able send a full frame at a given time. I have already reverse engineered the frame that I need.
Could you maybe give me some pointers?
Lin(LIN_SERIAL& ser=Serial,uint8_t txPin=1);
I know I would change the TX pin to 16 (A2).
I tried defining a software serial by including the Library, and then
'Software Serial mySerial(2,16);'
and then changing ser=Serial to ser=mySerial, but it said mySerial was not not declared in this scope.
Metadata
Metadata
Assignees
Labels
No labels