资源简介
OLED显示,驱动芯片包含SH1106驱动、SH1306.总线SPI,I2C只需修改读写子程序。文档有初始化、读写、8*16、16*16、图片显示,有详细说明。只需简单修改就可以使用!
代码片段和文件信息
/* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free non-transferable use of the information. NO
* WARRANTY of ANY KIND is provided. This heading must NOT be removed from
* the file.
*
*/
/** @file
* @brief Example project on GPIO usage to drive LEDs
* @defgroup gpio_example_pca10001 GPIO example
* @{
* @ingroup nrf_examples_pca10001
*
* @brief Example of GPIO output usage.
*
* This example shows how to configure GPIO pins as outputs which can also be used to drive LEDs.
* Each LED is set on one at a time and each state lasts 100 milliseconds.
*/
#include
#include
#include “nrf_delay.h“
#include “nrf_gpio.h“
#include “oled.h“
/***************************16*16?????????:??棗???棗????*********/
unsigned char F16x16[] =
{
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“0*/
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“1*/
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“0*/
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“1*/
0x100x310x630x060x000xFE0xFE0x060x060x060x060x060x060x060x000x00
0x000x600x3C0x070x000x7F0x7F0x600x600x600x600x600x600x600x000x00/*?/
0x180x980x480x680xA80xA80x6F0x6F0x6A0xAA0xAA0x6A0x5A0x9A0x000x00
0x020x020x030x7F0x7F0x550x550x550x550x550x7F0x7F0x030x020x020x00//
0x880xCC0xE60x330x5C0x580x5F0x580x5C0x600xF80x1F0xFF0xF80x180x00
0x000x7F0x7F0x000x3F0x0F0x030x1F0x580x6C0x330x1C0x3F0x630x400x00//
0x600x620xE60xEC0x000xF30xF30xB70xBF0xFB0xFF0xB70xF30xF10x000x00
0x400x600x3F0x1F0x300x6F0x6F0x620x620x6F0x6F0x620x6F0x6F0x600x00//
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“0*/
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“1*/
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“8*/
0x400x400x800xF00x800x400x400x000x020x020x010x0F0x010x020x020x00/*“*“9*/
0x400x400x480x480x480xC80x780x4F0x480x480x480x480x480x400x400x00
0x000x000x000x000x030x120x120x220x220x520x8A0x060x000x000x000x00/*“?“0*/
0x000x100x600x800x000xFF0x000x000x000xFF0x000x000xC00x300x000x00
0x400x400x400x430x400x7F0x400x400x400x7F0x420x410x400x400x400x00/*“?“1*/
0x000x000xF80x880x880x880x880xFF0x880x880x880x880xF80x000x000x00
0x000x000x1F0x080x080x080x080x7F0x880x880x880x880x9F0x800xF00x00/*“?“2*/
0x800x820
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1471611 2012-02-23 10:14 OLED SH1106\SH1106 V0.1.pdf
文件 26596 2015-12-22 13:21 OLED SH1106\oled.c
文件 1409 2015-12-21 16:49 OLED SH1106\oled.h
目录 0 2015-12-22 13:22 OLED SH1106\
相关资源
- VS2017连接数据库
- oled0.96屏 电量图标 BMP
- Image2LCD OLED图片取模软件
- ssd1305驱动,绝对能用
- STM32驱动max30102和MLX90614程序
- CC2530+OLED电压信号模拟信号显示串口传
- STM32 OLED 菜单显示汉字
- 中景园电子0.96OLED显示屏_C51系列_SPI
- STM32_OLED_三级菜单框架.rar
- 基于stm32、0.96寸OLED实现的贪吃蛇小游
- SSD1306 oled 驱动代码
- DS3231+12864 0.96oled 51单片机程序
- 51单片机驱动OLED液晶显示屏
- coolEdit地图编辑器
- ESP8266串口输入字符串,同时用0.96寸
- 基于STM32的寝室指纹门锁设计
- MSP430G2553使用IIC协议控制OLED显示屏
- STM32-OLED12864.rar
- OLED模块封装库
- 中景园电子0.96OLED显示屏_STM32ZET系列
- 0.96寸OLED显示屏适配MSP430F5529
- C51完美OLED显示.zip
- OLED ssd1306 128x64
- OLED0.91模组12832 IIC全套显示函数字符显
- MSP430F5529LP下的0.96寸7针OLED显示驱动程
- 基于AVR单片机的OLED现实源码
- OLED屏封装,常见器件封装
- OLED12864显示屏,12位ADC,按键中断,
- oled.zip
- STM32F103驱动SSD1353主控OLED程序 使用硬
评论
共有 条评论