- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2016-08-01T17:23:11+09:00","default:nari","nari")
[[HSES-LCD24でライブラリ付属のサンプルプログラムを試す]]
* VNC_ILI9341_touch [#vfc2f9bf]
** プログラムの概要 [#c7a6395c]
** 前準備 [#v386e789]
** 修正点 [#v8dedd07]
- 端子の設定,32,33行
--変更前
#define TFT_DC (5)
#define TFT_CS (15)
-- 変更後
#define TFT_DC (15)
#define TFT_CS (2)
- vncサーバの設定,43~45行
--
const char * vnc_ip = "192.168.x.x"; // VNCサーバのIPアドレス
const uint16_t vnc_port = 5900; // VNCサーバのポート(変更しない)
const char * vnc_pass = "foobar"; // VNCサーバのパスワード、サーバ側で設定したもの
- WiFiの設定,47,48行
--
const char* ssid = "your-ssid";
const char* password = "your-password";
- 表示の向き,89行
-- 変更前
tft.setRotation(1);
-- 変更後
tft.setRotation(3);