In some programming languages, double- and single-quotes can both be used for multi-character strings. Often, single-quoted strings are literal, while double-quoted strings allow for interpolation of variables within the string (e.g., in Perl and PHP, among others).
But in the C/C++ world, single-quotes are for specifying one-byte characters.
Iām using a Neopixel Matrix with 6 rows, but unfortunately the dot factory doesnāt allow to use a font smaller than 8 pixels. Does anybody know how to solve this problem or how to generate a font with 6 pixels?
@peekay123, thank you for the fast reply. Do you know some neccessary informations regarding how to create the pixel arrays manually and what the individual hex codes represent?
Here is the App I have been using to create Bitmap images I created in Corel Draw into Hex Data to paste into my sketch to get it to display on the LCD screens.
Also on some images I create I had to play with the dimensions alittle if the output looked funky on the LCD screen. Iām not sure what causes the corrupted image but I was always able to get if fixed by tweaking the bitmap size a little.
Sweet, Iāve literally tested hundreds of fonts on the 2.7 inch Sharp Memory LCDās looking for the best looking fonts so I know it takes a lot of work to get a font that looks great on the screen.
Upload some pics of your favorite fonts when your done if you have the time to do it.
@armor, @Trekky may not be the author of that library. He could do a pull-request on the github repo but only the original author can make the changes. I can, however, make changes to the mfGFX IDE library to add the font to the font list.
Is it expected to work with teh Adafruit 3.5" TFT display? If so that would be graet because I want to use a realy big font toe make the display readable from a distand. Scaled fonts wil do this but it will look horrable. That is why iām looking for a selution to use a nice and readable font.
In my case I cant get mij Arduino prog compiled because of an error message:
Arduino: 1.6.5 (Windows 7), Board:āArduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)ā
In file included from Preamp.ino:1:0:
C:\Users\jan\Documents\Arduino\libraries\Adafruit_mfGFX_Library/Adafruit_mfGFX.h:4:25: fatal error: application.h: No such file or directory #include āapplication.hā
^
compilation terminated.
Fout bij compileren.
@dalojan, you need to understand that this forum is for Particle devices, not Arduino The library you are using is not written for Arduino. However, I did create an Arduino-specific version here:
I downloaded the Arduino_Adafruit_mfGFX lib and after some tweaking the Arduino prog did compile with this new lib. Now I have to find out how to use the new and nice fonts.
Many thanks for your help