Simple integer calculator using FRDM-KL25Z and Adafruit 2.8" TFT with touch \\ "Dentaku" means "Desktop Calculator" in Japanese \\ On 5-Dec-2015, Support for FRDM-K64F, FRDM-K22F, NUCLEO-F411RE added.
Dependencies: SPI_STMPE610 UniGraphic mbed vt100
Yet another simple desktop calculator program, only for integer.
As usual I used FRDM-KL25Z, Adafruit 2.8" TFT with touch and UniGraphic library.
Now works with FRDM-K64F, FRDM-K22F, and NUCLEO-F411RE.
整数計算のみの簡単な電卓プログラムです。
例によって、FRDM-KL25Z, Adafruit 2.8" TFT with touch, そして UniGraphic を使用しています。
FRDM-K64F, FRDM-K22F, NUCLEO-F411RE でも動くようになりました。
Diff: main.cpp
- Revision:
- 2:ddf8d8fffb4f
- Parent:
- 0:659a74b77279
- Child:
- 3:998ba6618f38
diff -r 1d311dfd5f5c -r ddf8d8fffb4f main.cpp --- a/main.cpp Sun Aug 02 14:03:06 2015 +0000 +++ b/main.cpp Sat Dec 05 10:24:21 2015 +0000 @@ -105,6 +105,6 @@ if ((x != 0)||(y !=0)) { // FRDM-KL46Z fails to return touched somehow result = doMenu(x, y) ; } - wait(0.1) ; + wait(0.01) ; } }