0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

STM32G071とOLED,OLED096UNO-AでABC defgを表示

Last updated at Posted at 2022-09-18

x NUCLEO-G071RB

目的
ArduinoでOLED,OLED096UNO-AでABC defgを表示

16x16Fontの適当なコメントを外す

NONAMEは、「ななし」の事、なんでもいい
HWは、I2Cハードウェアの事

すること
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
のコメントを外す

X何らかの方法でArduinoを起動出来る様にしておく。

1.u8g2ライブラリーをインストール

2.ソースの例から16x16Fontを選択

3.まるまるを選択

4.コンパイル

5.ABC defgが表示される

6.おわり

おまけ
ここまでわかるまでに30分掛った。
mbedの方が環境構築が簡単だつた。
わからないところは、自力で解決してね!!
約32kバイトぐらい使用する

o_con772.jpg

o_con769.jpg

o_con768.jpg

o_con771.jpg

o_con770.jpg

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?