文章概览
oled有 i2c 或 spi 通信的,若为 spi 使用 Transmit only Master 模式
引脚 | USER LABLE |
---|---|
DO | SPI_SCK |
D1 | SPI_MOSI |
RES | OLED_RES |
DC | OLED_DC |
CS | OLED_CS |
设置对应USER LABLE即可直接使用库
- 初始化
1 | OLED_Init(); |
每次绘制后,需要 refresh 一下
多想多做,发篇一作
oled有 i2c 或 spi 通信的,若为 spi 使用 Transmit only Master 模式
引脚 | USER LABLE |
---|---|
DO | SPI_SCK |
D1 | SPI_MOSI |
RES | OLED_RES |
DC | OLED_DC |
CS | OLED_CS |
设置对应USER LABLE即可直接使用库
1 | OLED_Init(); |
每次绘制后,需要 refresh 一下
多想多做,发篇一作