TS Eyes A simple program to test TSI function of FRDM-KL25Z board using the Adafruit 2.8" TFT with Touch Sensor. It behaves like the X11eyes, but this time it follows the point where the TSI sensor is being touched. When the right most edge of the TSI is touched, the program exits the loop and pretend to be sleeping. By touching TFT display, program resume to the staring eye loop.
Dependencies: SPI_STMPE610 SPI_TFT_ILI9341 TFT_fonts TSI mbed
TS Eyes Just like the good old X11eyes, this program follows the point where the TSI sensor of FRDM is being touched.
懐かしの X11eyes のように FRDM の TSI センサ上で 触られている点を追いかけるサンプルプログラムです。
When downloaded and reset, the eyes see the left side as the TSI read value is 0.
ダウンロードしてリセットしますと、最初は左側を見ています。
The eyes follow where you touch on the TSI sensor of FRDM board.
TSIセンサを触るとその方向に瞳が動きます。
When the right most side of the sensor is touched, the program exits the following loop and pretend to be sleeping.
指が一番右端にかかりますと、ループを抜けてお休みモードに入ります。 TFTの表面をタップすることで、起こすことができます。
Diff: SPI_STMPE610.lib
- Revision:
- 0:0b7a110bfceb
diff -r 000000000000 -r 0b7a110bfceb SPI_STMPE610.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SPI_STMPE610.lib Sat Dec 06 05:35:02 2014 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/Rhyme/code/SPI_STMPE610/#ee910b63c077