You don't have to redraw the circle in the loop ?
You don't have to redraw the circle in the loop ?
Nope... it stays there until you redraw over it.
I think the problem the OP is having is drawing something after initializing the radio.
I think the problem the OP is having is drawing something after initializing the radio.
Yes, that seems to be the problem I tried to replicate, but it is working for me as per my example. All I can think of at the moment, is that he needs to ensure pins 11, 12 and 13 are used for the nRF24L01 for the Uno.
It also looks like the libraries are capable of handling the high to low chip selection details, as you'll notice I didn't have to manipulate those states manually.
So sorry I missed this! I will absolutely give this a chance as soon as I can and get back to you with how it went: for the moment I added another Arduino as an I2C slave and had it work with the screen on its own... not a permanent solution, so I'm glad you replied!
Currently, I am soldering some Nanos in preparation for trying out the new LiPo battery I got and hopefully giving JoeBot (or LeoBot, as per my handle) its first treads-down test-drive! Wish me luck, and thanks again!
Fortune Favors the Bold
@frogandtoad What happens if you draw a circle while inside loop().
I just tested your suggestion, and it still works just fine... all I did was add the following line of code, to the code I presented previously:
void loop() { if(radio.available()) { radio.read(&data, sizeof(data)); Serial.println(data); } TFTscreen.fillCircle(64, 64, 30, ST7735_GREEN); // Added for new test }
...now the display shows a GREEN circle in the centre of the display, and the "Hello World!" text is still coming through the serial communications channel, to the receiver unhindered.
Cheers.
Thanks for doing that. I would have but I don't have a tft display on hand.