Displaying a single pixel on LED display showed two LEDs lit up

In my processing program, I am setting just a single pixel to red, however on my LED screen, two LED lights lit up red, with one dimmer than the other. How can I make sure that only 1 LED light lights up?

I have set the processing P2D canvas to exactly the same size as the external display (at least i think the external display is indeed 2468 * 64). Therefore I think that 1 pixel in processing should correspond to 1 led light on the screen. But this is clearly not the case now.

Thanks in advance.

This might be because smooth() is on by default.

Try adding noSmooth() to setup() and see if that helps.

1 Like

thanks, but i found that my LED display was actually not displaying at the resolution I thought it was.

1 Like