]> git.earman.xyz Git - sensor-watch.git/commit
RPN Calculator face (#112)
authorJames Haggerty <james@gruemail.com>
Tue, 10 Jan 2023 21:15:00 +0000 (08:15 +1100)
committerGitHub <noreply@github.com>
Tue, 10 Jan 2023 21:15:00 +0000 (16:15 -0500)
commit529bad306d94624cb2eefbfd16b17fc9fd7e4773
tree7c44591ea8fe8db42bf382616875df6735ea25c3
parent0aa77e27e4149fac6def8c8d86b00d9b47cf857a
RPN Calculator face (#112)

* Calculator face with guess a number

* Add more functions, cleanup, and blinking

* Display operations better in the first location

* Clean up stack behaviour

Add empty stack behaviour, check stack bounds, add stack operations.

Also, make 'mode' always work to switch through faces on entering calculator
(i.e. by defaulting to OPERATION rather than NUMBER).

Some edge cases.

* Tweak negative rounding behaviour; add basic doco

* Add copyright name.

* Flip ordering of binary operations

* Fix compiler warnings

* Remove watch_private_display hackery and give face a better name

Also, slightly clearer documentation and a dupe function.
movement/make/Makefile
movement/movement_faces.h
movement/watch_faces/complication/rpn_calculator_alt_face.c [new file with mode: 0644]
movement/watch_faces/complication/rpn_calculator_alt_face.h [new file with mode: 0644]