just a sample of what can be done
PRN電卓プログラム
「プログラミング言語C (K&R本)」に出てくる例を元にした,RPN計算機です.
写真はイメージです
このプログラムは..
- 『mbed祭り 2015@初夏の東銀座』の親睦会で「RPN」と題して行ったLT(LightningTalk)でのデモ・プログラムです.
- mbed LPC1768,mbed LPC1114FN28で実行できることを確認しています(たぶん他のプラットフォームでも動きます)
- プレゼンスライドを置いておきます
History
functions "power" and "drop" are added
2015-06-27, by okano [Sat, 27 Jun 2015 01:29:21 +0000] rev 5
functions "power" and "drop" are added
tweaked for better display
2015-06-27, by okano [Sat, 27 Jun 2015 01:21:34 +0000] rev 4
tweaked for better display
displaying stack by hitting [Enter] and operators
2015-06-26, by okano [Fri, 26 Jun 2015 11:01:35 +0000] rev 3
displaying stack by hitting [Enter] and operators
divided to multiple modules
2015-06-26, by okano [Fri, 26 Jun 2015 10:16:24 +0000] rev 2
divided to multiple modules
fix for terminal code; keep shown value in stack
2015-06-26, by okano [Fri, 26 Jun 2015 10:10:50 +0000] rev 1
fix for terminal code; keep shown value in stack
initial version from K&R
2015-06-26, by okano [Fri, 26 Jun 2015 09:57:25 +0000] rev 0
initial version from K&R