Join us on Discord!
You can help CodeWalrus stay online by donating here.

[TI-84+CE] QR encoder

Started by SopaXorzTaker, December 17, 2017, 02:54:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SopaXorzTaker

https://github.com/SopaXorzTaker/ti-qr

I've decided to port a QR code library onto the TI-84+CE, and found https://github.com/ricmoo/QRCode, which is portable and optimized for low-power devices.

To compile that library for the calculator (with Zilog's ANSI C compiler included), I had to rewrite some of the code to compile under ANSI C, as the compiler was complaining.
Anyway, when you run the demo program (DEMO.8xp, see below), it's going to take about a minute to process and then you'll get a QR code with the sample message displayed on the calculator screen.
Press any key to exit the demo program.
  • Calculators owned: TI-84+CE, TI-82, fx-991ES

critor

Thank you very much for your great port. It works perfectly with much longer messages ! :D

JWinslow23

Awesome! Can you modify this to do multiple levels? (i.e. the higher the level gets, the more of it can be removed while still being able to detect the message)

critor

Yes, just some parameter to change in the main :
https://tiplanet.org/pb/?id=2043_1513701783_87ef52c647

In my STR2QR project, it's ECC_LOW.
You may change it to ECC_MEDIUM, ECC_QUARTILE, or ECC_HIGH.

Powered by EzPortal