Missing pixels when using drawLine RA8875 tft display

pd0lew

Well-known member
Hi group,

My meter use two needles and for that I use drawLine... is there a better solution for that so that it looks like a real needle?

Best,

Johan

Code:
tft.drawLine(pos[0], pos[1], x_n, y_n, RED);
         tft.drawLine(pos[0]+1, pos[1]+ 1, x_n + 1, y_n + 1, RED);

needleMeter.jpg
 
Back
Top