1 Star 0 Fork 0

DFRobot/DFRobot_SSD1306

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DFRobot_SSD1306_I2C.h 454 Bytes
一键复制 编辑 原始数据 按行查看 历史
sobeit 提交于 2018-05-09 13:11 +08:00 . fix compatibility
#ifndef DFROBOT_SSD1306_I2C_H
#define DFROBOT_SSD1306_I2C_H
#include "DFRobot_SSD1306.h"
#define SSD1306_I2CBEGIN() Wire.begin()
class DFRobot_SSD1306_I2C : public DFRobot_SSD1306
{
public:
DFRobot_SSD1306_I2C(uint8_t I2CAddr);
void drawPixel(int16_t x, int16_t y, uint16_t color);
private:
uint8_t I2CAddr;
void writeDatBytes(uint8_t* pDat, uint16_t count);
void writeCmd(uint8_t cmd);
};
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/dfrobot/DFRobot_SSD1306.git
git@gitee.com:dfrobot/DFRobot_SSD1306.git
dfrobot
DFRobot_SSD1306
DFRobot_SSD1306
master

搜索帮助