Control sample of Touch sensor XPT2046 for ORANGE pico.
ORANGE pico series are small computer of PicoSoft.
Support language is BASIC.
Refer: http://www.picosoft.co.jp/orange/
Tested on "ORANGE pico pocket" purchased here.
https://booth.pm/ja/items/1134643
This pocket computer has a TFT module equipped with a touch panel controller XPT2046.
The TFT module is 2.4 inches 240 x 320 dots.
Pictures of the same product as this TFT module is shown below.
Touch sensor pin is lower right 5 pins.
GPIO | TFT module |
---|---|
PORT1 | T_IRQ |
PORT2 | T_DO |
PORT3 | T_DIN |
PORT4 | T_CS |
PORT100 | T_CLK |
- Screen clear
- Pen color selection
- Pen thickness selection
drawing_sample.bas -- BASIC program sample
drawing_sample.lua -- Sample of inputting BASIC by serial communication with Lua
Used in connection with FlashAir