So, I bought one of these things to use with my first personal Arduino-based project. Have it wired up to a prototype board now. I'm using the display library from Adafruit, which seems to work ok, as far as it goes. So, here's my question: when I put pixel values into an array of bytes, and tell the LCD to display them, it gets them quite mixed up. It seems to help a little bit to actually order the array so that your pixels are listed in order top->bottom,left->right -- as opposed to the more conventional reverse of that, where you would put one row after the next. Still, even this won't get the image quite right. Does anyone have any idea what this display is trying to do with my pixel data?
There do appear to be one standalone and two online image converters, and the output of these converters -- at least, the output of this
one -- displays properly on the screen. I can't quite figure out how to do my own conversion and get it to work properly, though, and there appears to be absolutely no available information on the process. I have managed to come up with a correct conversion this 16x16 pixel image(
), but when I try to scale things up, it breaks for some reason. Does anyone know what these displays expect in terms of image data? Also, does anyone know why the libraries haven't been specifically written to treat said data in a more sane manner?
It looks like these guys are using a setpixel function, but if my reading of the code is correct, they're really setting the location in the array, and not the location in the display; they just let the display shuffle things around on you. Is there some kind of standard method of pixel-shuffling of which I'm unaware?