mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
新增了教程和注释以及文档,增加了一键编译并打开ozone调试的脚本
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
/**
|
||||
* @file oled.h
|
||||
* @author your name (you@domain.com)
|
||||
* @brief 待重构实现
|
||||
* @version 0.1
|
||||
* @date 2023-02-14
|
||||
* @todo 请重构show string/init/clean/update buffer等的实现
|
||||
*
|
||||
* @copyright Copyright (c) 2023
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef OLED_H
|
||||
#define OLED_H
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
# oled
|
||||
|
||||
当前oled支持不完整,api较为混乱. 需要使用bsp_iic进行实现的重构,并提供统一方便的接口
|
||||
|
||||
请使用字库软件制作自己的图标和不同大小的ascii码.
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#ifndef __OLED__FONT__H
|
||||
#define __OLED__FONT__H
|
||||
|
||||
//the common ascii character
|
||||
const unsigned char asc2_1206[95][12]={
|
||||
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*" ",0*/
|
||||
@@ -109,6 +110,7 @@ const unsigned char asc2_1206[95][12]={
|
||||
{0x40,0x00,0x80,0x00,0x40,0x00,0x20,0x00,0x20,0x00,0x40,0x00},/*"~",94*/
|
||||
};
|
||||
|
||||
// 你可以使用图标字库软件生成自己的pattern,软件会输出一个数组,将数组复制到这里即可.
|
||||
|
||||
//the logo of robomaster
|
||||
const unsigned char LOGO_BMP[128][8] = {
|
||||
|
||||
Reference in New Issue
Block a user