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
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