Closed cyberman54 closed 2 years ago
It seems i could fix it by adding a line in bb_spi_lcd.h, but i am not sure if this is intentional:
class BB_SPI_LCD : public Print { public: BB_SPI_LCD() { memset(&_lcd, 0, sizeof(_lcd)); } int createVirtual(int iWidth, int iHeight);
Thanks for catching this. It's necessary and I didn't catch it because of the specific build environment/settings. I just pushed new code with this change.
Using this lib with a TTGO T-Display board on Arduino framework, it crashes when the display class is instantiated:
Crash occurs in line db->begin.