DALI master interface, implemented on an AVR mega644