gauravmm/HT1632-for-Arduino — Issue #6: Won't draw small images on all lines.
Author: Jzooor
Created: 2011-10-25 18:32:32+00:00
State: open

I am using this library to interface with 2 of the Sure Electronics 24x16 displays. I made the necessary changes in the header file to set up the library to work with my display, and most of the time everything works fine. There is just an issue with drawing images of height less than 4.

I have found that if I try to draw an image with a height of less than 4, the image will not get drawn at certain y values.

I tested with a single pixel image...

char IMG_PIXEL[] = {0b0001};
#define IMG_PIXEL_WIDTH 1
#define IMG_PIXEL_HEIGHT 1

When height is set to 1, it will only draw when y is 0, 4, 8, and 12.
When height is set to 2, it will only draw when y is 0, 1, 4, 5, 8, 9, 12, and 13.
When height is set to 3, it will only draw when y is 0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, and 14.
When height is set to 4 or more, it will draw on any line.