Hello all. I would like to use the new electronic labels currently found in stores to display prices.
This material has an advantage over LCD screens, which is that the display is almost permanent even without power. The disadvantage is to generate an image to modify the current display, this is less easy than with a classic LCD screen.
The model I chose is a 2.9 inch E-paper label capable of generating 3 colors:
white, black and red.
I wanted to know if the existing library for ARDUINO can be converted and used for B4R?
Even if no library is yet available for b4r, if you find some code that works in arduino ide, then you can create some C calls, kinda of what I did with smartLEDs, a few years ago
From what i understood, the images are created using the old pixel method... where 1 is drawn and 0 is not...
I bet you can easily create a b4j app to create the inages byte array!
How do you set the text.
Are there specific instructions to do it.
I had a look at a video about e-Paper and saw that in their Android code there are drawing methods.
It is probably a library which should be adapted to B4R:
Thanks for the video Klaus, I watched it carefully. It pretty much matches everything I've seen on the subject, only the dimensions of the label are different but the methods are the same. I hope that we will perhaps soon have a library adapted for B4X systems.
I don't know if your question was for CableGuy or for me but actually at the moment I'm using two different arduino sketches, one for the text (2_9E_Paper) and another for the rasterized image (epd2in9b_V3 in the list of Arduino sketches)
Alas no, not yet, Klaus, I tried with #If C and #EndIf but it doesn't work, I get Arduino error messages
If I get a positive result, I'll come back here, of course
I read that: "
The RAM of Arduino UNO is too small to realize drawing function of e-Paper. In this case, for most of the e-Paper, we only make the image display function and save the image to flash..."
This would explain why I only managed to transfer a simple image with Arduino UNO???
So, I'm going to try with a MEGA
I need to order a new Mega 2560 card, I will continue my experiments upon receipt