I'm new programming arduino. I have connected an Adafruit thermal printer to an ESP8266 board.
I've the example code for use the board like a webserver that allow upload files. What i want is to upload a BMP file, convert it to an array of "uint8_t PROGMEM", and send the array to the printer in order the image would be printed.
Do you know any code i could use to convert the BMP file to "unint8_t PROGMEM"???. When i get the uploaded file it is an array of "unsigned char".
Thanks in advance.