ESP8266+1.3寸OLED显示-U8g2图形库—IIC使用方法
- ESP8266开发板选择:
nodemcu1.0
- 所使用过的库:
u8g2
库 - 1.3寸IIC OLED屏幕
*所使用的接口函数:U8G2_SSD1306_128X64_NONAME_1_SW_I2C u8g2(U8G2_R2, /* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE); // All Boards without Reset of the Display
示例代码
/*
GraphicsTest.ino
Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/)
Copyright (c) 2016, olikraus@gmail.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list
of con