/******************************************************* This program was created by the CodeWizardAVR V3.20 Evaluation Automatic Program Generator © Copyright 1998-2015 Pavel Haiduc, HP InfoTech s.r.l. http://www.hpinfotech.com Project : Version : Date : 14/04/2015 Author : Thierry LEQUEU Company : Comments: Chip type : ATmega1284 Program type : Application AVR Core Clock frequency: 20,000000 MHz Memory model : Small External RAM size : 0 Data Stack size : 4096 *******************************************************/ #include // Alphanumeric LCD functions #include #include // Declare your global variables here void main(void) { // Declare your local variables here // Crystal Oscillator division factor: 1 #pragma optsize- CLKPR=(1<