#include <Arduboy2.h>
Arduboy2Base arduboy;
void setup() {
arduboy.boot();
arduboy.audio.begin();
//arduboy.setFrameRate(FPS);
//Start serial
Serial.begin(115200);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Serial.println("Entering setup");
Serial.println("Exiting setup");
}
void loop() {
Serial.println("Entering loop");
// put your main code here, to run repeatedly:
arduboy.clear();
arduboy.fillRect(0, 0, WIDTH-1, HEIGHT-1);
arduboy.display();
Serial.println("Exiting setup");
}
My problem is fillrect is hanging.
with this output on serial:
Entering setup
Exiting setup
Entering loop
If I switch the arduboy class declaration to be Arduboy2 it works. Also if I roll back the Arduboy2 library to 3.1.1 it works. I’m currently trying to use 4.0.0.
I’m confused because the Arduboy2 library hasn’t been updated Since Apr 26 and I wasn’t having any trouble before this evening.
Am I missing something? I feel like I’m loosing my mind.