We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include <Arduino.h> #include <ESP32QRCodeReader.h>
ESP32QRCodeReader reader(CAMERA_MODEL_AI_THINKER);
void onQrCodeTask(void *pvParameters){ struct QRCodeData qrCodeData; while (true){ if (reader.receiveQrCode(&qrCodeData, 100)){ if (qrCodeData.valid){ Serial.println((const char *)qrCodeData.payload); } } vTaskDelay(100 / portTICK_PERIOD_MS); } }
void setup(){ Serial.begin(115200); reader.setup(); reader.beginOnCore(1); xTaskCreate(onQrCodeTask, "onQrCode", 4 * 1024, NULL, 4, NULL); }
void loop(){ delay(50); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#include <Arduino.h>
#include <ESP32QRCodeReader.h>
ESP32QRCodeReader reader(CAMERA_MODEL_AI_THINKER);
void onQrCodeTask(void *pvParameters){
struct QRCodeData qrCodeData;
while (true){
if (reader.receiveQrCode(&qrCodeData, 100)){
if (qrCodeData.valid){
Serial.println((const char *)qrCodeData.payload);
}
}
vTaskDelay(100 / portTICK_PERIOD_MS);
}
}
void setup(){
Serial.begin(115200);
reader.setup();
reader.beginOnCore(1);
xTaskCreate(onQrCodeTask, "onQrCode", 4 * 1024, NULL, 4, NULL);
}
void loop(){
delay(50);
}
The text was updated successfully, but these errors were encountered: