/**************************************************** Programmed during 2011-05-02 and 2011-07-29 for the project ACM1219 as a microcontroller setup for the ACM1219 interface Designed and developed by Adrian Beckert Contact: adrian.beckert@gmx.ch *****************************************************/ #include byte values[159]={128,0,75,57,158,0,128,0,77,208,91,37,115,101, //Values to write into the EEPROM 116,67,73,78,32,49,44,48,44,48,52,46,48,44,57,57,46,57,44,48, 44,57,57,46,57,44,57,57,46,57,0,115,101,116,76,73,77,73,84,32, 48,48,46,48,49,44,48,56,46,49,56,44,48,48,46,48,48,44,48,48,46, 48,48,0,0,1,128,0,75,57,158,0,128,0,77,208,91,37,115,101, 116,67,73,78,32,49,44,48,44,48,52,46,48,44,57,57,46,57,44,48, 44,57,57,46,57,44,57,57,46,57,0,115,101,116,76,73,77,73,84,32, 48,48,46,48,49,44,48,56,46,49,56,44,48,48,46,48,48,44,48,48,46, 48,48,0}; void setup(){ Serial.begin(9600); for (byte i=0;i<158;i++){ //write values in EEPROM EEPROM.write(i,values[i]); } Serial.println("Please check:"); Serial.println("Column 1: Values to write in EEPROM"); Serial.println("Column 2: Values written in EEPROM"); for (byte i=0;i<158;i++){ //print the values written into serial port Serial.print(i,DEC); Serial.print(": "); Serial.print(values[i],DEC); Serial.print(" "); Serial.println(EEPROM.read(i),DEC); } Serial.println("successful"); Serial.println("Please close the serial port and load the file 'ACM1219_Interface_Rev01' on the Arduino microcontroller"); } void loop(){ }