OLED使用例程加取字模软件


OLED屏幕加C语言程序例程,能够方便开发人员使用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“



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); 
}



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2807  2017-11-24 10:27  中景园电子0-96寸OLED模块资料V3.0DemoDemo.inoDemo.ino.ino

     文件       2808  2017-11-23 22:45  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino1039440322054204312.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino1126513690530722582.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino1189458932369541827.tmp

     文件       2808  2017-11-23 22:45  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino1594961160553638440.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino400574954332661129.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino4044939713757020509.tmp

     文件       2808  2017-11-23 22:45  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino51820247391979271.tmp

     文件       2808  2017-11-23 22:45  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino5185693768078268215.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino5589188206133124340.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino6551973952729802886.tmp

     文件       2808  2017-11-23 22:45  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino7110734648017204169.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino7128574343455881507.tmp

     文件       2809  2017-11-23 22:33  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino7879267778245860686.tmp

     文件       2809  2017-11-23 22:34  中景园电子0-96寸OLED模块资料V3.0DemoDemo.ino8571216485296289453.tmp

     文件       2005  2017-11-24 14:49  中景园电子0-96寸OLED模块资料V3.0DemoDEMO111DEMO111.ino

     文件      22016  2017-11-24 14:32  中景园电子0-96寸OLED模块资料V3.0DemoDENO111测试代码第一次.doc

     文件      19456  2017-11-20 19:49  中景园电子0-96寸OLED模块资料V3.0Demoilove you 总评.doc

     文件      19968  2017-11-20 21:14  中景园电子0-96寸OLED模块资料V3.0DemoIlove you中评.doc

     文件       1425  2017-11-24 10:02  中景园电子0-96寸OLED模块资料V3.0Demosimple_lovesimple_love.ino

     文件       1501  2017-11-24 11:29  中景园电子0-96寸OLED模块资料V3.0Demo ext ext.ino

     文件      36864  2017-11-20 19:14  中景园电子0-96寸OLED模块资料V3.0Demo程序文档.doc

     文件      12183  2017-11-23 22:54  中景园电子0-96寸OLED模块资料V3.0Demo蓝牙基础代码.docx

     文件      12921  2017-11-23 21:20  中景园电子0-96寸OLED模块资料V3.0Demo蓝牙通讯基础代码.docx

     文件    1776692  2016-02-25 09:56  中景园电子0-96寸OLED模块资料V3.0OLED反白显示技术资料.rar

     文件     163210  2017-11-20 19:48  中景园电子0-96寸OLED模块资料V3.0SPI接口arduino连接方式arduino spi接口.docx

     文件        175  2015-11-11 13:13  中景园电子0-96寸OLED模块资料V3.0SPI接口arduino连接方式arduinoOperation methodOperation method.txt

     文件       6225  2014-07-05 16:10  中景园电子0-96寸OLED模块资料V3.0SPI接口arduino连接方式arduinoOperation methodU8glibChangeLog

     文件       3751  2014-07-05 16:10  中景园电子0-96寸OLED模块资料V3.0SPI接口arduino连接方式arduinoOperation methodU8glibexamplesA2PrinterA2Printer.ino

     文件      11286  2014-07-05 16:10  中景园电子0-96寸OLED模块资料V3.0SPI接口arduino连接方式arduinoOperation methodU8glibexamplesBitmapBitmap.ino

............此处省略531个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)