Shop OBEX P1 Docs P2 Docs Learn Events
QR Code generator — Parallax Forums

QR Code generator

ke4pjwke4pjw Posts: 1,096
edited 2024-06-12 03:23 in Propeller 2

Hopefully I will have some C code to share soon for a QR Code generator. It does not rely on any 3rd party libraries.

Known bugs: It does not work with default optimization with flexprop.

Thanks for all the help in the C/C++ forum! Now that Chip has structures in spin2, I hope to convert this to spin2.

Comments

  • evanhevanh Posts: 15,347

    Cool. Those blocks are one character wide and half height, right? So four combinations then.

  • ke4pjwke4pjw Posts: 1,096

    Yes sir! It also uses ANSI, so it will work with any output capable of interpreting ANSI codes.

  • ke4pjwke4pjw Posts: 1,096

    I found that inverting the colors made detection much faster on my phone.

  • ke4pjwke4pjw Posts: 1,096

    I have attached a zip with the code in the 1st post.

    Thanks to @Wuerfel_21 for helping me figure out some things with flexprop.

Sign In or Register to comment.