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
Hi, Code ChatGPT suggested:
String generateQRCode(const String& data) { QRCode qrcode; uint8_t qrcodeData[qrcode_getBufferSize(3)]; qrcode_initText(&qrcode, qrcodeData, 3, 0, data.c_str());
String qrCodeHtml = "<img src="data:image/png;base64,"; qrCodeHtml += qrcode_getQRCode(&qrcode); qrCodeHtml += "">";
return qrCodeHtml; }
But..."qrcode_getQRCode" is not declared in qrcode.h!: How comes that ChatGPT thinks this is part of Richard Moore's library??
The text was updated successfully, but these errors were encountered:
CharGPT will often hallucinate. You cannot take its suggestions at face value and will often have to do additional research beyond code it proposes.
Sorry, something went wrong.
(my low-level libraries tend to be exclusively C, so if you see C++ syntax it is likely a hallucination)
No branches or pull requests
Hi, Code ChatGPT suggested:
String generateQRCode(const String& data) {
QRCode qrcode;
uint8_t qrcodeData[qrcode_getBufferSize(3)];
qrcode_initText(&qrcode, qrcodeData, 3, 0, data.c_str());
String qrCodeHtml = "<img src="data:image/png;base64,";
qrCodeHtml += qrcode_getQRCode(&qrcode);
qrCodeHtml += "">";
return qrCodeHtml;
}
But..."qrcode_getQRCode" is not declared in qrcode.h!:
How comes that ChatGPT thinks this is part of Richard Moore's library??
The text was updated successfully, but these errors were encountered: