ST7565 LCD using a lot of SRAM
I bought the ST7565 display because I wanted to use it to display the results of a variety of sensors I'm monitoring in an aquarium setup. It works fine in it's own program, but when I tried to add the code into my main sensor program, I was getting bizarre hangups. After playing with it for several days, I realized that when I call any functions to write to or clear the screen, this would cause my program to hang or prevent any results from displaying on the LCD or in the serial monitor. After running some tests with the code, I've realized that this display requires at least 1024 bytes of memory - essentially half of the SRAM. My main program requires about 1500 bytes of SRAM. So I'm over by about 500 bytes. Is there any way to minimize the memory usage of this display? Or should I return it and buy a different display which doesn't use so much RAM? I wish the specs had described this problem. It seems virtually useless if you can't run it with other system inputs. My program is not complicated.