+ version 1.0.03
+ replaced 5 millis() write latency, with polling code
+ added return values