I'm using this image
drawBitmap() can show it correctly, but exactly in the bottom right corner, there are 3 horizontal black pixels. Cannot figure out why they are there from the code. I think it may be a buffer size issue
I'm using this image
drawBitmap() can show it correctly, but exactly in the bottom right corner, there are 3 horizontal black pixels. Cannot figure out why they are there from the code. I think it may be a buffer size issue
Cannot figure out why they are there from the code.
You are the only one that can see the code or the data in the arrays.
I thought it might've been a common problem. There doesn't seem to be anything that could go wrong looking at the code
testbitmap.ino (24.1 KB)
You're right. [+edit] Ah, you've posted the code. That's better.
Pete
I found the problem, apologies for not seeing sooner. Very clearly, a 50x50 bit image should have 2500 elements in the bit array... mine has 2496.
You're right
apologies for not seeing sooner
No problem.
Pete