Hello all, so I'm working on a project that seems I'll need help with to actually get it all to fit on the arduino, even when I'm using the crossroads 1284 mini.
End goal is to have a menu where you can select a few (three or four total) different configs which will display images in different orders, either automated or manually when you press a button (I may just do it manually to save trouble with it being finicky), however with even one of the configs it's already using up 53% of the program storage space.
There must be a more efficient way to do what I'm thinking but I know very little about c programming when it comes down to it.
This is the code so far which I have set up to test the concept out and verify that the e-ink display was working.
void setup(void) //save-on-foods config
{
Serial.begin(115200);
Serial.println();
Serial.println("setup");
display.init(115200); // enable diagnostic output on Serial
display.setTextColor(GxEPD_BLACK);
display.setFont(&FreeMonoBold9pt7b);
display.fillScreen(GxEPD_WHITE);
display.update();
delay(500);
Serial.println("setup done");
display.drawExampleBitmap(programmode, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hex4, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hex0, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hex5, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hex7, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hexf, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hex9, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hex8, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hexb, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(hex1, sizeof(endprog));
delay(1000);
display.drawExampleBitmap(saveandreset, sizeof(endprog));
delay(1000);
display.fillScreen(GxEPD_WHITE);
display.update();
}
Now, I'm guessing there's some fancy way to other commands to basically pre-set the order for these, instead of doing it line by line like I am above, but I'm not sure what that is. I mean, at least I hope there is, if not I might have to look into a mini raspberry pi or something, though that would add some complication, and also require spending even more on this.