资源简介

在Keil5下写的STM32F4xx核心板综合例程,基于STM32F407VE最小系统板, 采用定时器Tim3计时,定时器Tim4输出PWM,显示可以采用I2C接口的0.96寸OLED,或多种类型LCD,尤其是包含两个串口的API,可以事先串口数据的中断接收以及自定义解包。

资源截图

代码片段和文件信息

/************************************************************************************
*  Copyright (c) 2015 HelTec Automatic Technology co.LTD.
*            All rights reserved.
*
* Http:    www.heltec.cn
* Email:   cn.heltec@gmail.com
* WebShop: heltec.taobao.com
*
* File name: OLED.h
* Project  : OLED
* Processor: STC89C52
* Compiler : Keil C51 Compiler

* Author : Aaron Lee
* Version: 1.00
* Date   : 2014.3.24
* Email  : hello14blog@gmail.com
* Modification: none

* Description:
* 1. 128*64点整OLED模块功能演示程序的字表,仅适用heltec.taobao.com所售产品;
* 2. 字表由打包资料中的“取字软件”计算得出;
* 3. 取字方式 -- 共阴、列行式、逆向输出
*
* Others: none;
*
* Function List: none;
*
* History: none;
*
*************************************************************************************/
#ifndef __CODETAB_H
#define __CODETAB_H 


/***************************16*16的点阵字体取模方式:共阴——列行式——逆向输出*********/



unsigned char F16x16[] =
{  
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00/*“ “0*/
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00/*“ “0*/


0x040x840x840xFC0x840x840x000xFE0x020x020xF20x020x020xFE0x000x00
0x200x600x200x1F0x100x900x400x230x180x060x010x7E0x800x830xE00x00/*“?“1*/

0x000x800x600xF80x070x200x200x200x7F0xA00x100x110x160x100x100x00
0x010x000x000xFF0x000x000x000x000x000x030x0C0x100x200x400xF80x00/*“?“2*/

0x100x600x020x8C0x000xFE0x020xF20x020xFE0x000xF80x000xFF0x000x00
0x040x040x7E0x010x800x470x300x0F0x100x270x000x470x800x7F0x000x00/*“?“3*/


0x400x400x420xCC0x000x900x900x900x900x900xFF0x100x110x160x100x00
0x000x000x000x3F0x100x280x600x3F0x100x100x010x0E0x300x400xF00x00/*“?“4*/


0x100x100x100xFF0x100x900x080x880x880x880xFF0x880x880x880x080x00
0x040x440x820x7F0x010x800x800x400x430x2C0x100x280x460x810x800x00/*“?“5*/

0x000x100x100x100x100xD00x300xFF0x300xD00x120x1C0x100x100x000x00
0x100x080x040x020x010x000x000xFF0x000x000x010x020x040x080x100x00/*“?“6*/




0x000x800x600xF80x070x400x300x0F0xF80x880x880x880x880x080x080x00
0x010x000x000xFF0x000x000x000x000xFF0x080x080x080x080x080x000x00/*“?“7*/


0x000x100x600x800x000xFF0x000x000x000xFF0x000x000xC00x300x000x00
0x400x400x400x430x400x7F0x400x400x400x7F0x420x410x400x400x400x00/*“?“8*/


0x000x000xF80xF80x880x880x880xFF0xFF0x880x880x88
0xF80xF80x000x000x000x000x1F0x1F0x080x080x080x7F
0xFF0x880x880x880x9F0x9F0xF00xF0/*“电“8*/

0x000x000xFE0xFE0x820x820x820x820xFA0xFA0x820x82
0x820x820x820x020x800xE00x7F0x5F0x400x400x400x40
0x7F0x7F0x400x440x5C0x580x400x40/*“压“9*/

0x400x7C0x7C0x7F0x7F0x480x480xF20xF20x1A0xDE0xD6
0x120xF20xF20x020x900x9E0xCE0x4F0x6F0x3E

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        3150  2018-04-26 21:13  JlinkLog.txt
     文件         755  2018-01-30 21:11  JlinkSettings.ini
     目录           0  2018-05-28 23:24  Listings\
     文件      146246  2018-05-28 23:40  Listings\TestStm32F407Ve.map
     文件       82584  2018-05-28 23:40  Listings\startup_stm32f40_41xxx.lst
     目录           0  2018-05-28 23:24  OLED_I2C\
     文件        8105  2018-04-21 13:56  OLED_I2C\OLED_I2C.c
     文件         975  2018-04-25 19:34  OLED_I2C\OLED_I2C.h
     文件       21366  2018-04-26 09:18  OLED_I2C\codetab.c
     目录           0  2018-05-28 23:40  objects\
     文件          19  2018-04-26 20:55  objects\ExtDll.iex
     文件      407552  2018-05-28 23:40  objects\TestStm32F407Ve.axf
     文件        8319  2018-05-28 23:40  objects\TestStm32F407Ve.build_log.htm
     文件       23398  2018-05-28 23:40  objects\TestStm32F407Ve.hex
     文件       73473  2018-05-28 23:40  objects\TestStm32F407Ve.htm
     文件         909  2018-05-28 23:40  objects\TestStm32F407Ve.lnp
     文件         479  2018-04-26 15:08  objects\TestStm32F407Ve.sct
     文件       65197  2018-05-28 23:40  objects\TestStm32F407Ve_Stm32F407Ve.dep
     文件         479  2018-04-26 15:08  objects\TestStm32F407Ve_sct.Bak
     文件         198  2018-05-28 23:40  objects\codetab.crf
     文件          41  2018-05-28 23:40  objects\codetab.d
     文件        9992  2018-05-28 23:40  objects\codetab.o
     文件      413492  2018-05-28 23:40  objects\delay.crf
     文件        2426  2018-05-28 23:40  objects\delay.d
     文件      431080  2018-05-28 23:40  objects\delay.o
     文件      413544  2018-05-28 23:40  objects\drv_pwm.crf
     文件        2480  2018-05-28 23:40  objects\drv_pwm.d
     文件      427272  2018-05-28 23:40  objects\drv_pwm.o
     文件      432994  2018-05-28 23:40  objects\gui.crf
     文件        2598  2018-05-28 23:40  objects\gui.d
     文件      474960  2018-05-28 23:40  objects\gui.o
............此处省略112个文件信息

评论

共有 条评论