「HELLO」とデカ文字24x32で表示する Arduino UNOとSSD1306(128x32)

x 過去ログをみよ

目的
OLEDに大文字を5文字表示する


フォントを作る
配列に変換する
プログラムに埋め込む
![o_cop467.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/840352/62d36222-df3c-a8b2-1817-af490f89b127.jpeg)

![o_cop463.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/840352/e6dec3a5-7f55-e54c-67f7-3bee947b54cb.jpeg)

![o_cop464.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/840352/370a663f-7b8e-7f4c-8270-99178544c85c.jpeg)

![o_cop465.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/840352/d74e9b42-54d2-554e-6dad-ebe02e92d9e0.jpeg)

![o_A_Z_24x32.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/840352/552267d9-8fd6-6725-f4f6-2e9833e36be4.jpeg)

![o_cop466.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/840352/ac586fb9-7712-c4b8-8a29-28687557bd71.jpeg)



```c++





//OLED_YEAH_24x32_UNO

//ヘッダーファイル
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>


//定義
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 32 // OLED display height, in pixels
#define OLED_RESET     -1 // Reset pin # (or -1 if sharing Arduino reset pin)
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);


// ビットマップデータ
// 'soiya1', 128x320px
static const unsigned char PROGMEM databytes[] = {




//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


// 'Edge26(@)', 24x32px
  0xfc, 0x00, 0x7f, 0xf8, 0x00, 0x3f, 0xf3, 0xff, 0x9f, 0xe7, 0xff, 0xcf, 0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xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3,






//bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb


// 'Edge1(B)', 24x32px
  0x80, 0x00, 0x7f, 0x80, 0x00, 0x3f, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0xe7, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xe7, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0x3f, 0x80, 0x00, 0x3f, 
  0x80, 0x00, 0x3f, 0x9f, 0xff, 0x3f, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0xe7, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xe7, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0x9f, 0x80, 0x00, 0x3f, 0x80, 0x00, 0x7f,







//ccccccccccccccccccccccccccccccccccccc


// 'Edge2(C)', 24x32px
  0xfc, 0x00, 0x7f, 0xf8, 0x00, 0x3f, 0xf3, 0xff, 0x9f, 0xe7, 0xff, 0xcf, 0xcf, 0xff, 0xe7, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 
  0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xf3, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0xcf, 0xff, 0xe7, 0xe7, 0xff, 0xcf, 0xf3, 0xff, 0x9f, 0xf8, 0x00, 0x3f, 0xfc, 0x00, 0x7f,






//dddddddddddddddddddddddddddddddddddddd


// 'Edge3(D)', 24x32px
  0x80, 0x00, 0x7f, 0x80, 0x00, 0x3f, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0xe7, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 
  0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xe7, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0x9f, 0x80, 0x00, 0x3f, 0x80, 0x00, 0x7f,






//eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee


// 'Edge4(E)', 24x32px
  0x80, 0x00, 0x03, 0x80, 0x00, 0x03, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x0f, 
  0x80, 0x00, 0x0f, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x03, 0x80, 0x00, 0x03,






//fffffffffffffffffffffffffffffffffffff


// 'Edge5(F)', 24x32px
  0x80, 0x00, 0x03, 0x80, 0x00, 0x03, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x0f, 
  0x80, 0x00, 0x0f, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff,






//gggggggggggggggggggggggggggggggggggggggg


// 'Edge6(G)', 24x32px
  0xfc, 0x00, 0x7f, 0xf8, 0x00, 0x3f, 0xf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0xff, 
  0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3,






//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii


// 'Edge8(I)', 24x32px
  0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 
  0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 
  0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 
  0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 
  0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 
  0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff,





//jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj



// 'Edge9(J)', 24x32px
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 
  0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xf9, 0xff, 0x9f, 0xf8, 0xff, 
  0x1f, 0xfc, 0x7e, 0x3f, 0xfe, 0x3c, 0x7f, 0xff, 0x18, 0xff, 0xff, 0x81, 0xff, 0xff, 0xc3, 0xff,







//kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk


// 'Edge10(K)', 24x32px
  0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xc3, 0x9f, 0xff, 0x0f, 0x9f, 0xfc, 0x3f, 0x9f, 0xf0, 0xff, 0x9f, 0xc3, 
  0xff, 0x9f, 0x0f, 0xff, 0x9c, 0x3f, 0xff, 0x90, 0xff, 0xff, 0x83, 0xff, 0xff, 0x8f, 0xff, 0xff, 
  0x8f, 0xff, 0xff, 0x83, 0xff, 0xff, 0x90, 0xff, 0xff, 0x9c, 0x3f, 0xff, 0x9f, 0x0f, 0xff, 0x9f, 
  0xc3, 0xff, 0x9f, 0xf0, 0xff, 0x9f, 0xfc, 0x3f, 0x9f, 0xff, 0x0f, 0x9f, 0xff, 0xc3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff,







//lllllllllllllllllllllllllllllllllllllllllllllllll


// 'Edge11(L)', 24x32px
  0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 
  0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x03, 0x80, 0x00, 0x03,








//mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm


// 'Edge12(M)', 24x32px
  0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x8f, 0xff, 0xe3, 0x87, 0xff, 0xc3, 0x97, 
  0xff, 0xd3, 0x93, 0xff, 0x93, 0x99, 0xff, 0x33, 0x9d, 0xff, 0x73, 0x9c, 0xfe, 0x73, 0x9e, 0x7c, 
  0xf3, 0x9e, 0x7c, 0xf3, 0x9f, 0x39, 0xf3, 0x9f, 0xbb, 0xf3, 0x9f, 0x83, 0xf3, 0x9f, 0xc7, 0xf3, 
  0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3,






//nnnnnnnnnnnnnn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  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0xcf, 0xff, 0xe7, 0xe7, 0xff, 0xcf, 0xf3, 0xff, 0x9f, 0xf8, 0x00, 0x3f, 0xfc, 0x00, 0x7f,






//ppppppppppppppppppppppppppppppppppppppppppppppppp


// 'Edge15(P)', 24x32px
  0x80, 0x00, 0x7f, 0x80, 0x00, 0x3f, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0xe7, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xe7, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0x3f, 0x80, 0x00, 0x7f, 
  0x80, 0x00, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff,






//qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq


// 'Edge16(Q)', 24x32px
  0xfc, 0x00, 0x7f, 0xf8, 0x00, 0x3f, 0xf3, 0xff, 0x9f, 0xe7, 0xff, 0xcf, 0xcf, 0xff, 0xe7, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 
  0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xfc, 0xf3, 0x9f, 0xfe, 0x73, 0x9f, 0xff, 0x33, 0x9f, 0xff, 
  0x93, 0xcf, 0xff, 0xc7, 0xe7, 0xff, 0xc7, 0xf3, 0xff, 0x83, 0xf8, 0x00, 0x33, 0xfc, 0x00, 0x7b,






//rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr


// 'Edge17(R)', 24x32px
  0x80, 0x00, 0x7f, 0x80, 0x00, 0x3f, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0xe7, 0x9f, 
  0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 
  0xf3, 0x9f, 0xff, 0xe7, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0x3f, 0x80, 0x00, 0x7f, 
  0x80, 0x00, 0xff, 0x99, 0xff, 0xff, 0x9c, 0xff, 0xff, 0x9e, 0x7f, 0xff, 0x9f, 0x3f, 0xff, 0x9f, 
  0x9f, 0xff, 0x9f, 0xcf, 0xff, 0x9f, 0xe7, 0xff, 0x9f, 0xf3, 0xff, 0x9f, 0xf9, 0xff, 0x9f, 0xfc, 
  0xff, 0x9f, 0xfe, 0x7f, 0x9f, 0xff, 0x3f, 0x9f, 0xff, 0x9f, 0x9f, 0xff, 0xcf, 0x9f, 0xff, 0xe7,






//ssssssssssssssssssssssssssssssssssssssssss



// 'Edge18(S)', 24x32px
  0xfc, 0x00, 0x0f, 0xf8, 0x00, 0x0f, 0xf3, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xcf, 0xff, 0xff, 0x9f, 
  0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 
  0xff, 0xcf, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xfc, 0x00, 0x7f, 
  0xfe, 0x00, 0x3f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xf3, 0xff, 
  0xff, 0xf3, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xf3, 0xff, 0xff, 
  0xf3, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xcf, 0xff, 0xff, 0x9f, 0xe0, 0x00, 0x3f, 0xe0, 0x00, 0x7f,







//tttttttttttttttttttttttttttttttttttttttt


// 'Edge19(T)', 24x32px
  0x80, 0x00, 0x03, 0x80, 0x00, 0x03, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 
  0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 
  0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 
  0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 
  0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 
  0xff, 0xff, 0xe7, 0xff, 0xff, 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xe7, 0xff, 0xcf, 0xe7, 
  0xff, 0xcf, 0xf3, 0xff, 0x9f, 0xf9, 0xff, 0x3f, 0xfc, 0xfe, 0x7f, 0xfc, 0xfe, 0x7f, 0xfe, 0x7c, 
  0xff, 0xff, 0x39, 0xff, 0xff, 0x39, 0xff, 0xff, 0x93, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xe7, 0xff, 
  0xff, 0xc7, 0xff, 0xff, 0x93, 0xff, 0xff, 0x39, 0xff, 0xff, 0x39, 0xff, 0xfe, 0x7c, 0xff, 0xfc, 
  0xfe, 0x7f, 0xfc, 0xfe, 0x7f, 0xf9, 0xff, 0x3f, 0xf3, 0xff, 0x9f, 0xe7, 0xff, 0xcf, 0xe7, 0xff, 
  0xcf, 0xcf, 0xff, 0xe7, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3,






//yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy


// 'Edge24(Y)', 24x32px
  0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 0xff, 0xf3, 0x9f, 
  0xff, 0xf3, 0xcf, 0xff, 0xe7, 0xe7, 0xff, 0xcf, 0xf7, 0xff, 0xcf, 0xf3, 0xff, 0x9f, 0xf9, 0xff, 
  0x3f, 0xfc, 0xff, 0x3f, 0xfe, 0xfe, 0x7f, 0xfe, 0x7e, 0x7f, 0xff, 0x3c, 0xff, 0xff, 0x99, 0xff, 
  0xff, 0xd9, 0xff, 0xff, 0xc3, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 
  0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 
  0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff,






//zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz



// 'Edge25(Z)', 24x32px
  0x80, 0x00, 0x03, 0x80, 0x00, 0x03, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xe7, 0xff, 
  0xff, 0xcf, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0xff, 0xfe, 0x7f, 0xff, 0xfc, 
  0xff, 0xff, 0xf9, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xcf, 0xff, 
  0xff, 0xcf, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0xff, 0xfe, 0x7f, 0xff, 0xfc, 
  0xff, 0xff, 0xf9, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xcf, 0xff, 
  0xff, 0xcf, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x03, 0x80, 0x00, 0x03,






//bkbkbkbkbkbkbk


// 'Edge27(BK)', 24x32px
  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff



};


//初期化
void setup() {

  // I2Cアドレスは使用するディスプレイに合わせて変更する
  display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS);

}//setup


//メインループ
void loop() {

  int ii;    //ループカウンター
  int gy=0;  //位置
  
  char *str1 = "HELLO";

  // 画面表示をクリア
  display.fillScreen(BLACK);

  for(ii=0;ii<5;ii++){
 
    //ビットマップの表示
    display.drawBitmap(ii*24, 0,  databytes + (  (str1[ii] - '@' )  *(24/8)*32), 24, 32,  WHITE);

    //gy = gy + 24;

  };//for ii

  // 描画バッファの内容を画面に表示
  display.display();

  delay(1000); //1秒待つ

}//loop







```