#author("2016-07-29T14:39:23+09:00","default:nari","nari")
#author("2016-08-01T17:33:42+09:00","default:nari","nari")
[[HSES-LCD24でライブラリ付属のサンプルプログラムを試す]]

* VNC_ILI9341 [#w2714498]

** プログラムの概要 [#s30576e0]


** 動画 [#je83f525]

#youtube(wCsCXz0kRA8)

** 前準備 [#h68f6371]

以下のライブラリをzipでダウンロードし、インストールしてください

- [[GitHub - Links2004/Adafruit_ILI9341: Library for Adafruit ILI9341 displays:https://github.com/Links2004/Adafruit_ILI9341]]

** 修正点 [#u5ac6c72]

- 端子の設定,25~27行
--変更前
  #define TFT_DC      (5)
  #define TFT_CS      (15)
  #define TFT_RESET   (4)
-- 変更後  
  #define TFT_DC      (15)
  #define TFT_CS      (2)
  #define TFT_RESET   (-1)

- vncサーバの設定,33~35行
--
 const char * vnc_ip = "192.168.x.x";  // VNCサーバのIPアドレス
 const uint16_t vnc_port = 5900;       // VNCサーバのポート(変更しない)
 const char * vnc_pass = "foobar";     // VNCサーバのパスワード、サーバ側で設定したもの

- WiFiの設定,37,38行
--
  const char* ssid = "your-ssid";
  const char* password = "your-password";

- 表示の向き,78行
-- 変更前
     tft.setRotation(1);
-- 変更後
     tft.setRotation(3);

** 写真 [#ydb553b4]

#ref(./s_160729a0.jpg,left,around,25%)
- VNCサーバが起動していない状態
#clear

#ref(./s_160729a1.jpg,left,around,25%)
- VNCサーバ起動後
- ウィンドウの左上隅を表示
-- 表示位置の移動はできない
#clear



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS