converting to pure AVR code
remove unused macros