bmp2h converter for ks0108 GLCD

Submit to reddit

This is a converter I wrote with the graphics library for the PIC16F microcontrollers. Others work but this one works for sure.

If you want to see the source code (I’m not particulary proud of it 🙂 )  drop a comment and I’ll send it to you.

If the bitmap is smaller than 128×64 it will be left as is, if not it will be resized proportionally to 128×64.

bmp2ks0108

You can set the name you want your variable to have and you can also set if you want the picture inverted or not. Depending on your lcd colors you might want to invert the result.

You can download the converter here: glcd_convert.