资源简介
经典的测试程序,ESP8266 OLED 驱动程序,可直接烧写运行,可移植。网上花钱买的,共享一下。
代码片段和文件信息
/*
U8glib.cpp
C++ Interface
Universal 8bit Graphics Library
Copyright (c) 2011 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 conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice this
list of conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS “AS IS“ AND ANY EXPRESS OR IMPLIED WARRANTIES
INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL
SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT
NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT
STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include “U8glib.h“
#if defined(U8G_WITH_PINLIST)
uint8_t U8GLIB::initSPI(u8g_dev_t *dev uint8_t sck uint8_t mosi uint8_t cs uint8_t a0 uint8_t reset)
{
prepare();
return u8g_InitSPI(&u8g dev sck mosi cs a0 reset);
}
uint8_t U8GLIB::initHWSPI(u8g_dev_t *dev uint8_t cs uint8_t a0 uint8_t reset)
{
prepare();
return u8g_InitHWSPI(&u8g dev cs a0 reset);
}
uint8_t U8GLIB::initI2C(u8g_dev_t *dev uint8_t options)
{
prepare();
return u8g_InitI2C(&u8g dev options);
}
uint8_t U8GLIB::init8Bit(u8g_dev_t *dev uint8_t d0 uint8_t d1 uint8_t d2 uint8_t d3 uint8_t d4 uint8_t d5 uint8_t d6 uint8_t d7
uint8_t en uint8_t cs1 uint8_t cs2 uint8_t di uint8_t rw uint8_t reset)
{
prepare();
return u8g_Init8Bit(&u8g dev d0 d1 d2 d3 d4 d5 d6 d7 en cs1 cs2 di rw reset);
}
uint8_t U8GLIB::init8BitFixedPort(u8g_dev_t *dev uint8_t en uint8_t cs uint8_t di uint8_t rw uint8_t reset)
{
prepare();
return u8g_Init8BitFixedPort(&u8g dev en cs di rw reset);
}
uint8_t U8GLIB::initRW8Bit(u8g_dev_t *dev uint8_t d0 uint8_t d1 uint8_t d2 uint8_t d3 uint8_t d4 uint8_t d5 uint8_t d6 uint8_t d7
uint8_t cs uint8_t a0 uint8_t wr uint8_t rd uint8_t reset)
{
prepare();
return u8g_InitRW8Bit(&u8g dev d0 d1 d2 d3 d4 d5 d6 d7 cs a0 wr rd reset);
}
#endif
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7089 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\ChangeLog
文件 3754 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\A2Printer\A2Printer.ino
文件 12829 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Bitmap\Bitmap.ino
文件 13988 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Chess\Chess.ino
文件 12997 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Color\Color.ino
文件 15248 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Console\Console.ino
文件 13137 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\F\F.ino
文件 20431 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\FPS\FPS.ino
文件 16030 2017-06-26 12:04 4Pin0.96 IIC测试程序\U8glib\examples\GraphicsTest\GraphicsTest.ino
文件 13181 2017-09-04 11:29 4Pin0.96 IIC测试程序\U8glib\examples\HelloWorld\HelloWorld.ino
文件 15338 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Menu\Menu.ino
文件 12076 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\PrintTest\PrintTest.ino
文件 13312 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Rotation\Rotation.ino
文件 13357 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Scale\Scale.ino
文件 13237 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\TextRotX\TextRotX.ino
文件 16847 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Touch4WSetup\Touch4WSetup.ino
文件 16655 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\Touch4WTest\Touch4WTest.ino
文件 14017 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\U8gLogo\U8gLogo.ino
文件 13539 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\examples\XBM\XBM.ino
文件 733 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\INSTALL.TXT
文件 3911 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\license.txt
文件 2799 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\U8glib.cpp
文件 57590 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\U8glib.h
文件 63396 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\utility\chessengine.c
文件 92341 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\utility\u8g.h
文件 4103 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\utility\u8g_bitmap.c
文件 9686 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\utility\u8g_circle.c
文件 4498 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\utility\u8g_clip.c
文件 4587 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\utility\u8g_com_api.c
文件 3407 2015-07-18 12:25 4Pin0.96 IIC测试程序\U8glib\utility\u8g_com_api_16gr.c
............此处省略137个文件信息
相关资源
- stm32 MPU6050 OLED显示,绝对完整
- max30102心率传感器stm32c8t6+0.96oled显示
- 2.MSP432学习之驱动OLED12864
- STM32红外测温MLX90614.rar
- STM32F103+OLED+外扩汉字库芯片高通字库
- 12864Oled显示屏 stm32f103
- 采用msp430,hx711ad模块,oled12864显示屏
- ESP8266 wifi模块驱动代码
- ESP8266 调试工具
- ESP8266和STM32做server收发数据代码
- CoolEdit Pro V2.1中文(汉化)破解版(含
- ESP8266原理图及库文件 altium designer
- 基于stm32的可检测温湿度、光照并通过
- ESP8266安卓APP
- ESP8266开发固件MQTT服务器
- 中文版Cooledit2.1安装+插件
- ESP8266-01-01sRelay继电器模块的使用.zi
- 超声波测距 检测用OLED显示iic.zip
- STM32+OV2640+ESP8266图片传输
- STM32F407_ESP8266连接机智云
- STM32+ESP8266+smartconfig配网.zip
- FPGA驱动OLED动态显示Verilog代码
- FPGA驱动OLED
- STM32+ESP8266实现物联网
- Msoft.ace.oledb.12.0 x64
- ESP8266开发,实现MQTT客户端,与MQTT服
- STM32+ESP8266智能农场i项目开发程序
- ESP8266_RTOS_SDK-3.0
- oled7针+gy-30参考代码
- ESP8266控制APP+源码合集.zip
评论
共有 条评论