using eeprom

Try arraySize = 1023 instead of 1200, and see what happens.

Also, what's with x=x+1 etc.? The language is called C++, not C=C+1. :grin: