Hello I am working with a MCF51JE256 and will need to generate QR codes...has anyone had experience with this...I have found some sample C projects but they are all for image files i.e. .png, .gif etc. and I am really looking to generate the QR code and store it in memory as a bitmap...
已解决! 转到解答。
Look at libqrencode , which is a C library for doing this.
Its representation of a generated QR Code is just this (from the header file):
Symbol data is represented as an array contains width*width uchars.
Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black.
Look at libqrencode , which is a C library for doing this.
Its representation of a generated QR Code is just this (from the header file):
Symbol data is represented as an array contains width*width uchars.
Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black.