-
Notifications
You must be signed in to change notification settings - Fork 9
minimal QR code generator and drawing examples #1
New issue
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
Conversation
adafruit_miniqr.py
Outdated
self.data_cache = QRCode.create_data(self.type, self.ECC, self.data_list) | ||
self.map_data(self.data_cache, mask_pattern) | ||
|
||
def setup_position_probe_pattern(self, row, col): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should all of these start with _ to be private? This is an interesting API comparison: https://github.com/lincolnloop/python-qrcode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont know if you'd ever wanna use them outside the library but i could do it sure - i ported this, which i think is a port of the above
https://github.com/SHA2017-badge/micropython-examples-sha2017/tree/master/QRcode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to change it now or wait? I was thinking its a good change because it reduces the public API complexity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah ill do it now one minute
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kk see new commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome thanks!
No description provided.