Updated according to andy-may code.

Files on arduino part updated according to andy-may code : verbose mode
implemented, diagnostic leds implemented.