// // sampleTFT: TFT ディスプレー表示テストプログラム // xkozima@myu.ac.jp #include "raspTFT.h" // 画像メモリ // テストプログラム int main () { TFT display; unsigned char frame[TFT_BYTES]; // TFT を初期化 display.init(); // テストパターン代入 display.setTestPattern(frame, TFT_WIDTH, TFT_HEIGHT); // 画像を転送・表示 display.sendFrame(frame); }