yoprogramo / QRcodeDisplay

ESP Generate QRCode for several displays - Base Repo
18 stars 9 forks source link

Always renders Version 7 #5

Closed PhilShaw852 closed 2 years ago

PhilShaw852 commented 2 years ago

Even if I change the version from 7 to 2, the QR image renders as Version 7.

yoprogramo commented 2 years ago

Hello,

Yes it is fixed to level 7 due to memory restrictions. You can change the level but have to regenerate some of the files as you can see in the Issue https://github.com/yoprogramo/QRcodeDisplay/issues/2#issuecomment-1075726406

Include the code to generate dynamically frames for different levels uses much more flash memory space, so we have not included. If you want to include it (or enhance the code to support more than level 7), please do it and we will include this code in the library.