资源简介
ARDUINO的学习中有关LCD12684的相关库,有利于学习arduino
代码片段和文件信息
/*
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);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-07-06 06:10 U8glib\
文件 3910 2013-07-06 06:10 U8glib\license.txt
文件 47544 2013-07-06 06:10 U8glib\U8glib.h
目录 0 2013-07-06 06:10 U8glib\utility\
文件 5519 2013-07-06 06:10 U8glib\utility\u8g_dev_ssd1309_128x64.c
文件 9836 2013-07-06 06:10 U8glib\utility\u8g_dev_st7565_lm6063.c
文件 12871 2013-07-06 06:10 U8glib\utility\u8g_dev_ili9325d_320x240.c
文件 8427 2013-07-06 06:10 U8glib\utility\u8g_dev_st7565_lm6059.c
文件 2205 2013-07-06 06:10 U8glib\utility\u8g_com_arduino_common.c
文件 4456 2013-07-06 06:10 U8glib\utility\u8g_pb16v2.c
文件 8130 2013-07-06 06:10 U8glib\utility\u8g_com_arduino_sw_spi.c
文件 7269 2013-07-06 06:10 U8glib\utility\u8g_dev_t6963_240x64.c
文件 36396 2013-07-06 06:10 U8glib\utility\u8g_font.c
文件 12040 2013-07-06 06:10 U8glib\utility\u8g_dev_ssd1322_nhd31oled_gr.c
文件 3991 2013-07-06 06:10 U8glib\utility\u8g_state.c
文件 7293 2013-07-06 06:10 U8glib\utility\u8g_dev_t6963_240x128.c
文件 12714 2013-07-06 06:10 U8glib\utility\u8g_rot.c
文件 5563 2013-07-06 06:10 U8glib\utility\u8g_dev_st7565_nhd_c12832.c
文件 7594 2013-07-06 06:10 U8glib\utility\u8g_com_arduino_st7920_hw_spi.c
文件 11376 2013-07-06 06:10 U8glib\utility\u8g_dev_ssd1306_128x64.c
文件 5538 2013-07-06 06:10 U8glib\utility\u8g_dev_lc7981_160x80.c
文件 9444 2013-07-06 06:10 U8glib\utility\u8g_dev_ssd1325_nhd27oled_gr_new.c
文件 4296353 2013-07-06 06:10 U8glib\utility\u8g_font_data.c
文件 7199 2013-07-06 06:10 U8glib\utility\u8g_dev_t6963_128x64.c
文件 2120 2013-07-06 06:10 U8glib\utility\u8g_dev_null.c
文件 3407 2013-07-06 06:10 U8glib\utility\u8g_com_api_16gr.c
文件 6373 2013-07-06 06:10 U8glib\utility\u8g_dev_uc1701_dogs102.c
文件 6727 2013-07-06 06:10 U8glib\utility\u8g_pbxh24.c
文件 1957 2013-07-06 06:10 U8glib\utility\u8g_u8toa.c
文件 8524 2013-07-06 06:10 U8glib\utility\u8g_com_arduino_st7920_spi.c
文件 3197 2013-07-06 06:10 U8glib\utility\u8g_dev_flipdisc_2x7.c
............此处省略77个文件信息
- 上一篇:淘淘商城完整版源码+视频+软件
- 下一篇:三相pwm整流器仿真283942
评论
共有 条评论