update diagnostic mode

revise example format
update readme

revise LED define, phonebook