Hello everyone,
I am currently using the BuyDisplay ER-TFTM070-6 7" Display. I am using it with daughter card we designed.
I am using it to plot moisture data from right to left across a grid on the display.
I have a (RED) delimiter that separates the old data on the left and the new data on the right and moves to the let the number of points received.
I'm using the layers and BTE to overlay a grid with the delimiter and plot data from layer 2 to layer 0. I have a clean grid stored on layer 1.
Plotting the data works by placing the grid with the delimiter on layer 2 and plotting the data to layer 0 on top of the grid. This works but the data keeps plotting the data over the old data.
Has anyone found a way to erase the data on the left while we are plotting new data from the right?
I've tried Alpha Blending, Write with Opacity but am not clever enough to make this happen.
I'm using straight C on an ATMEGA 2560 and ATMEL STUDIO 7.0
Please post a link to your display. Yes, I can Google. But you will get better replies if you make life easy for the readers.
If it is a SSD1963 you can only scroll vertically in hardware.
If it is RA8875 you can scroll an arbitrary rectangle in any direction.
The display uses the RA8876 processor on board. The url for the display is:
So I can scroll right to left without a problem. The issue is the for loop I am using to move the grid. It is too slow but makes for a smooth display.
My aim is to give the impression that the Red delimiter line is erasing the data on the left while filling in the new data on the right. This looks like it is shifting the data left. I can't seem to figure out how to erase the old data on the left.
Also, I am pulling buttons and alarm symbols from flash on the display. I write a white square over them to erase them. I guess I could do something like that for this. The data is being plotted using green circles that are 5 pixels in diameter with 5 pixel space in between so that it shows up clearly on the screen. So my grid and and x/y data are scaled accordingly.
I have been busy with other things. And have never used RA8876 chip.
Scrolling a horizontal window should be just like RA8875.
Easy if you want the graticule, axes, etc to move too.
Not so easy if you want a fixed graticule with the data scrolling past.
However it should not take long to rub out the old data points and re-plot in a different X position.
I know what you mean. This is for a moisture sensor that is used in many industries (paper, pet food, lumber, etc.…). I was using the RA8875 based ER-TFTM070-5 but it offered no way to program the flash once it was soldered onto the display.
I have it where I can move the entire grid with the delimiter scrolling and plotting the data from right to left. I’m just having problems with rubbing out the old data on the left instead of plotting over it again.
I’m actually using three layers. One to store a clean grid. Two to hold the Delimiter, and Three to Hold the data. I then use BTE to combine them and display them on layer 0.
I am stuck at erasing the old plotted data. I guess the best method is to move the entire grid with the delimiter. Then the grid and delimiter erases the data on the left while filling in on the right.
Thanks for the help. I mainly needed someone who is also doing this type of development to bounce these questions off of.