Greetings,
I have BLE connectivity to the Wio Terminal via Blynk, but…
I have a sketch with multiple user input screens/views activated via buttons/switches and the main screen that loads a full screen sprite to the Wio Terminal screen. I added the BLE to Blynk commands (see below for what I added) and:
- Blynk indicates BLE connection established with Wio Terminal,
- Sensor LEDs connected to Wio Terminal indicate that the sketch is in the main loop,
- Buttons and switches still move me to various UI screens and I can toggle other controls,
- Small sprites on the alternate UI screens/views appear to be working properly.
However, the initial full screen sprite is not visible, or repaper if I toggle buttons or switches. I do see the initial screen start as white and immediately fills with black (the sprite has a white background and tft is black). I have no idea where to start on this issue, any thoughts?
added to sketch:
#define BLYNK_PRINT Serial
#define BLYNK_USE_DIRECT_CONNECT
#include <BlynkSimpleWioTerminal_BLE.h>
#include <rpcBLEDevice.h>
#include <BLEServer.h>
char auth[] = “added Blynk key here”;
added to setup():
Serial.begin(9600);
Serial.println(“Waiting for connections…”);
Blynk.setDeviceName(“Wio on Blynk”);
Blynk.begin(auth);
added to loop():
Blynk.run();