Skip to content

Adding a standalone calculator extension #1109

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

robotfishe
Copy link

Made this extension for my own numberpad build. It adds a basic 4-function calculator that displays the entered equation and result on an attached display, and includes a macro button that will output the result to the connected computer.

@xs5871
Copy link
Collaborator

xs5871 commented Apr 26, 2025

I'm genuinely conflicted about this.
As a coding challenge or exploratory blog post, it'd be really interesting -- although the actual implementation would still need some serious work.
As a core part of the firmware that already struggles to fit on certain MCUs, I'm going to question the added value.
If it would enable using the CP REPL on a keyboard display, which is a super-set of the proposed functionality, I'd say that's dumb enough to have some merit. (It'd also make the entire logic ten times simpler.)

Fixed bug that occurred when new equation was started without pressing "clear".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants