avr code updates for encryption, moved pin definitions to constants