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.

  • why do you want the array to be in PROGMEM? – Juraj Dec 27 '19 at 16:15
  • It's required to send it to the printer – Rafael Muñoz Dec 27 '19 at 21:38
  • All the examples I saw were in that way. Tell me other ways, please – Rafael Muñoz Dec 28 '19 at 8:36
  • add one of the examples to the question – Juraj Dec 28 '19 at 9:14
  • Sorry Juraj, I think you don't know what we are talking about at all or you don't want to know. Bye – Rafael Muñoz Dec 28 '19 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.