Commit Graph

48 Commits

Author SHA1 Message Date
Jeff Wang
cb255bc7d1 fix quitting 2019-04-04 02:08:22 -04:00
Jeff Wang
a93bdd9c78 update readme 2019-04-04 02:08:18 -04:00
Jeff Wang
5e04a18cd2 use semaphores for keyboard and lcd, add lcd thread for calling updateLcd() 2019-04-04 01:54:02 -04:00
Jeff Wang
9484dc01fc fix lcd display, do not create multiple Calculator objects (and threads) 2019-04-04 01:32:15 -04:00
Jeff Wang
a37b754dd5 update gitignore 2019-04-04 00:36:12 -04:00
Jeff Wang
89c5f0dc6c only process calculator keys and update lcd if keys pressed 2019-04-04 00:33:46 -04:00
Jeff Wang
fc6d8efc5f work on Qt GUI, still not working properly 2019-04-04 00:33:42 -04:00
Jeff Wang
8f39958679 start working on gui 2019-04-03 00:07:15 -04:00
Jeff Wang
5cea4807f7 update ignore file 2019-04-02 23:57:51 -04:00
Jeff Wang
1be980d85b fix reciprocol convergence 2019-04-02 23:57:28 -04:00
Jeff Wang
0278165339 remove unused funtion 2019-04-02 23:56:54 -04:00
Jeff Wang
bf014cd982 update readme 2019-04-01 02:39:26 -04:00
Jeff Wang
bb102add67 add exponent character 2019-04-01 02:38:17 -04:00
Jeff Wang
d45c9702b0 check in a binary 2019-04-01 01:58:29 -04:00
Jeff Wang
f5d8d601a2 bugfix for keys
- initialize count, so that there is no initial keypress at powerup
- use int8_t instead of uint32_t to pass new key, since only 1 new key
used
2019-04-01 01:55:47 -04:00
Jeff Wang
8aec2ae134 fix exponent display 2019-04-01 01:12:02 -04:00
Jeff Wang
8114853d14 update readme 2019-04-01 00:04:38 -04:00
Jeff Wang
2d247dc265 update readme 2019-03-31 23:59:05 -04:00
Jeff Wang
75a9c92b7d fix desktop build 2019-03-31 23:34:25 -04:00
Jeff Wang
fa0afa726b update readme 2019-03-31 23:34:13 -04:00
Jeff Wang
cc35d96f65 update readme 2019-03-31 22:57:17 -04:00
Jeff Wang
8fb48bbf5a update readme 2019-03-31 22:53:01 -04:00
Jeff Wang
12e7f010e6 bugfix: latch on immediately, to ensure calculator stays on after poweron 2019-03-31 19:37:55 -04:00
Jeff Wang
d1ec11cad8 allow correct building/syntax highlighting on desktop 2019-03-31 19:37:55 -04:00
Jeff Wang
4ed3d1654e various bugfixes for decn arithmetic 2019-03-31 19:37:55 -04:00
Jeff Wang
43edb291cf attempt to reduce space usage
- remove unecessary code
- ifdef "extra" code
- pass data through globals instead of functions accessing static data
- functions non-reentrant, locate tmps in xdata
2019-03-31 19:37:52 -04:00
Jeff Wang
ecb0492534 initial calculator code 2019-03-31 19:33:59 -04:00
Jeff Wang
bdecc32b86 use global Buf everywhere for debugging 2019-03-28 00:41:54 -04:00
Jeff Wang
91b7b82462 add normal number display, number display bug fixes 2019-03-28 00:34:41 -04:00
Jeff Wang
4405ee7c8f division 2019-03-27 05:23:26 -04:00
Jeff Wang
b3c73cbdb5 style fixes 2019-03-27 05:22:47 -04:00
Jeff Wang
116b6ed2e6 bugfixes for multiply 2019-03-27 05:22:21 -04:00
Jeff Wang
0ba2ca7710 bugfixes for addition/subtraction 2019-03-27 05:22:19 -04:00
Jeff Wang
a742bb2059 separate out set_exponent function 2019-03-27 05:17:32 -04:00
Jeff Wang
14251c91cb multiplication 2019-03-27 03:53:18 -04:00
Jeff Wang
d2faa41dd5 bugfixes for addition/subtraction 2019-03-26 04:45:09 -04:00
Jeff Wang
72becb60a7 check result value equal to zero 2019-03-26 04:44:25 -04:00
Jeff Wang
c6ac8f5c5c subtraction 2019-03-26 03:35:49 -04:00
Jeff Wang
ad9a9f55ad change to base-100 with implicit decimal point
- addition working for test case
2019-03-26 02:38:56 -04:00
Jeff Wang
d351995294 initial decimal number code, needs work
- need to change to have implicit decimal point after first digit
- need to rework for code size
2019-03-22 16:38:35 -04:00
Jeff Wang
7dddcb0902 soft latching power switch 2019-03-21 21:06:12 -04:00
Jeff Wang
606ac5c2f8 optimize delays for better accuracy 2019-03-21 21:06:12 -04:00
Jeff Wang
33949440db fix lcd indexing, clear to end of line function 2019-03-21 21:06:12 -04:00
Jeff Wang
b3f0f12c32 key debouncer 2019-03-21 21:06:12 -04:00
Jeff Wang
c92decd204 increase code size 2019-03-21 21:06:12 -04:00
Jeff Wang
61c41aebc1 fix top row key inputs
temporarily set to push-pull outputs to force high
then scan as usual
2019-03-21 20:59:25 -04:00
Jeff Wang
84b6888d7e scan keyboard 2019-03-20 03:21:11 -04:00
Jeff Wang
f4f70853c1 initial stc rpn calculator project 2019-03-20 00:34:51 -04:00