Closed andersondeoliveiramachado closed 1 year ago
Hello, I'm using Platformio and I can define this variable on the platformio.ini file as
build_flags =
-DQRCODEVERSION=8
If you are using arduino ide unfortunatelly there are not such option for individual sketches but you can define at board level, see this:
https://forum.arduino.cc/t/how-to-specify-unique-compiling-options-for-multiple-sketches/679370
Hope it helps
Hello, I'm using Platformio and I can define this variable on the platformio.ini file as
build_flags = -DQRCODEVERSION=8
If you are using arduino ide unfortunatelly there are not such option for individual sketches but you can define at board level, see this:
https://forum.arduino.cc/t/how-to-specify-unique-compiling-options-for-multiple-sketches/679370
Hope it helps
Many thanks for the reply, Your project is fantastic. I'm a beginner in this esp32/arduino world.
For now I'm going to use it by changing the file \libraries\QRcodeDisplay\src\frame-v8.c since it's working this way.
Hello, I'm using Platformio and I can define this variable on the platformio.ini file as
build_flags = -DQRCODEVERSION=8
If you are using arduino ide unfortunatelly there are not such option for individual sketches but you can define at board level, see this:
https://forum.arduino.cc/t/how-to-specify-unique-compiling-options-for-multiple-sketches/679370
Hope it helps
This worked for me, thanks.
In the library documentation: https://github.com/yoprogramo/QRcodeDisplay#how-to-select-a-different-qr-version, it states that it is necessary to define QRCODEVERSION, how can this be done?