QR code generate in microcontroller

  1. I have to generate QR code, have string of 100 bytes which needs to be fit in. Controller I am using is Atmega2560 arduino. generated code is to be shown on TFT & to be print on thermal printer also.

  2. There are few libs on it in C/C++, but all use malloc functions. Is there any simple to use library for this? Any one has worked on it before?

Have you considered searching the forum ?

but all use malloc functions.

So does the String class. So, the fact that malloc() is used is NOT the end of the world. It is mis-use of malloc(), like the String class does, that could be.

Vindhyachal_Takniki: 2. There are few libs on it in C/C++, but all use malloc functions. Is there any simple to use library for this? Any one has worked on it before?

Google says yes.