mrrwa / LocoNet

An embedded Loconet interface library for Arduino family microcontrollers
Other
65 stars 32 forks source link

Made Arduino optional #12

Closed dirkjankrijnders closed 4 years ago

dirkjankrijnders commented 4 years ago

Optionally removed the dependency on the arduino framework. Drops support for arduino versions lower then 1.0.0. If ARDUINO is defined the code is unchanged. Besides putting all arduino code between #if defined(ARDUINO) a new constructor is added to specify the transmit pin.

Tested on an attiny84 running an S88 interface: LNS88-firmware

kiwi64ajs commented 4 years ago

Whats your motivation for making this change? What platform are you wanting to use the library on?