Hi,
I would like to copy/echo/redirect the output of Sparki’s LCD display to my PC screen, assuming that Bluetooth is connected.
Mac preferred, but PC would be fine…
Does anyone know how to implement that ?
Thanks,
Dirk
There’s not currently a way to do this, but if you were going to…
I’d probably take the display buffer from Sparki.cpp (st7565_buffer) and transmit it over serial. As the bluetooth is set for 9600 baud, and the display buffer is 1024 bytes. Assuming no overhead, that’s ~9fps. On the receiving end, I’d collect and display it either using processing, or with python using pyserial and pygame.
Mmm, going through your code, if I read it right, I see you’re dipping me right into the pixel bucket hell !!!
It is an approach…, thanks for that, but I had a somewhat more intelligent communication in mind…
Is there a point were the original ASCII info is still recognizable / intercept-able ?
Something like if DUPLICATE then fling the CHAR also into the queue to be transmitted…
It might be further down in the Arduino libraries.
I know this not high on your list, but I like to keep your brain challenged, you might get bored !!!
Thanks for now,
Dirk
Oh, if you’re just looking to send text, I would try using Serial.print(); (USB) or Serial1.print(); (Bluetooth). Its the same command as sparki.print(); (LCD), but goes over those methods instead.