Roger-random / ESP_8_BIT_composite

Color composite video code from ESP_8_BIT as an Arduino library
MIT License
125 stars 15 forks source link

How to stop display initiation? #51

Closed ShiveStar closed 2 months ago

ShiveStar commented 2 months ago

I have run into an issue where after init this library using "display.begin();" I am having the issue where the Bluetooth code I am running alongside this no longer functions properly. Is there a way I can undo the display.begin()? My plan is just to declare display.begin(); whenever I need the display and then otherwise have it deinitialized to enable the rest of my code to function properly. Thanks!

Roger-random commented 2 months ago

The code you seek is in class destructor (ESP_8_BIT_composite::~ESP_8_BIT_composite()) which cleans up everything set up in begin().