Plotting Data Right To Left on ER-TFTM070-6

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

I would appreciate any help.

Thank you.

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.

David.

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.

Thank you for your help.
Reif

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.

FYI.

Reif

Sorry, I also want to explain that I am currently using eight bit graphics and color depth.

Reif

Hi David,

Thanks for the reply. I figured that someone had gotten this to work. This is the only sticking point and I’m at a loss to solve it.

Thank you for your help,

REIF HECK

Hi guys,

Anyone else have any ideas for this topic?

I seem to have lost David.

Thank you guys,
Reif Heck

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.

David.

Thanks David,

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.

Reif Heck

This topic was automatically closed after 120 days. New replies are no longer allowed.