I'm trying to convert images for use on an LCD connected to an Arduino.
First I tried using the UTFT library. I converted my image to an array using an online tool. Whenever I tried to facilitate the array within any of my Arduino sketches I would get compiler errors that I could not resolve.
So, I moved on to a program called Pixelmeister. Pixels. TFT graphics library for microelectronic devices It had the added benefit of being able to not only convert my images to arrays of various sizes, but it also has the ability to convert any true type font to a pixelated array that I can use with my display. A simple print at X,Y yields the display of whatever TTF size that I have added as an array. The font portion works perfectly aside from the temporary license restrictions that limit which characters you can use. You have to pony up the 30 Euros to really be able to play. Below is a sample of the SignPainter TTF that I had displayed:
I still keep running into issues when trying to display an image. Here is what I have for very short test code (I'll chop the array off) and below is what I keep getting for a compiler error. It was a similar error that I would get with the UTFT library when I tried to display a picture. In this code I simply wanted to display my avatar on the screen. "The Stupid, It Burns".
It appears to me to be some kind of type error, but I'm not sure why that would be because in both cases the array was software generated specifically for use with the libraries I'm using. I think the compiler just doesn't like the alias? Maybe? Can I dumb down the error detection of the compiler? Should I use the -fpermissive tag? One other thing that I might have to consider is possibly that there is a problem with the location of my libraries. I use multiple platforms and multiple computers so for the ease of keeping all of my non standard libraries handy to all of my arduino setups on my Mac at home, my PC at work, and my laptop when I'm mobile, I store all of those libraries in dropbox. However, I doubt that is a problem because the libraries work for other applications outside of displaying an image. Anyone have suggestions? What am I doing WRONG?