jnk0le / AVR-UART-lib

extremly light uart library for AVR 8 bit microcontrollers
MIT License
103 stars 36 forks source link

Library cannot build with RS485 functionality #3

Closed tix closed 6 years ago

tix commented 7 years ago

Hello and first of all congratulations on an excellent library. I have been using it for RS-232 and it works flawlessly. I am now trying to use t with RS-485 features on on an ATtiny841 and I am getting a lot of build errors. Most of them are lvalue required as left operand of assignment wherever a call to ___PORT or ___DDR is done I am also getting some pasting "PORT" and "(" does not give a valid preprocessing token. My configuration for RS-485 is the following: `#define RS485_CONTROL0_IOPORTNAME A

define RS485_CONTROL0_PIN 1`

Once again thanks a lot for your great library

jnk0le commented 7 years ago

Did f3150d57f60953d31b20589fa4395a258225093a fixed your issues?

Have found an ancient portname instance, but it was giving me a different sort of errors.