arduino使用7针spi接口0.96寸oled;
arduino工具栏->管理库->加载库,搜索添加 u8glib 库
选择文件-》示例-》u8glib-》helloworld
Arduino使用7针oled

根据自己芯片型号选择对应定义,括号内数字分别为(SCK,SDA,CS,DC,RES),默认定义中只有前4个数字,res为缺省,但是不把第五个数字也就是res引脚写上就不亮,res脚要外接复位信号,所以这里直接写上,实际使用中可根据自己需求选择是否外接复位信号。
Arduino使用7针oled
arduino的3至7口,对应oled的7至3口,
Arduino使用7针oled

相关文章:

  • 2021-10-05
  • 2021-06-02
  • 2021-12-23
  • 2021-07-22
  • 2021-10-26
  • 2021-09-18
  • 2021-04-11
  • 2021-09-03
猜你喜欢
  • 2021-12-13
  • 2021-06-05
  • 2021-08-30
  • 2021-11-16
  • 2022-02-08
  • 2022-12-23
  • 2021-07-11
相关资源
相似解决方案