i was using platformio to make a code for jayd. The compiling and upload where succesful but after it finished my jayd didnt turn on. i tried reseting it, plugging out then back in but nothing happened. the code i am using is this
#include <Arduino.h>
#include <JayD.h>
Display* display;
Sprite* sprite;
void setup() {
JayD.begin();
display = &JayD.getDisplay();
sprite = display->getBaseSprite();
pinMode(PIN_BL, OUTPUT);
digitalWrite(PIN_BL, LOW);
sprite->clear(TFT_WHITE);
sprite->setTextColor(TFT_BLACK);
sprite->setTextFont(2);
sprite->setCursor(0,0);
sprite->print(“hello world”);
display->commit();
}
void loop() {
delay(1000);
}
its the same as the example code only slightly eddited. I included every library from the jayd package for platformio. the issue shouldnt be the jayd itself either because reuploading the firmware via circuitblocks makes it work just as expected. Anyone know what might be going on here?