⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pictiva.h

📁 oled 驱动
💻 H
字号:

/*
    Title:    Pictiva mit ATMEGA32
	Version:  1.00
    Author:   Jens Dietrich
    Start:    26/12/2006
    Date:     30/12/2006
    Purpose:  3,3 Volt
    Software: AVR-GCC
    Hardware: ATMEGA32 und 3,3 Volt
    Note:     http://www.icplan.de
	File:     pictiva.h
*/


// Zeichensatz 5 x 8 Zeichen
// ascii zeichen 0x20 bis 0x7F 
// linkes byte ist oben

const unsigned char z_code[] PROGMEM = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,			// space
0x04,0x04,0x04,0x04,0x00,0x00,0x04,0x00,			// hex 21 = !
0x0a,0x0a,0x0a,0x00,0x00,0x00,0x00,0x00,			// hex 22 = "
0x0a,0x0a,0x1f,0x0a,0x1f,0x0a,0x0a,0x00,			// hex 23 = #
0x04,0x0f,0x14,0x0e,0x05,0x1e,0x04,0x00,
0x18,0x19,0x02,0x04,0x08,0x13,0x03,0x00,
0x0c,0x12,0x14,0x08,0x15,0x12,0x0d,0x00,
0x0C,0x04,0x08,0x00,0x00,0x00,0x00,0x00,
0x02,0x04,0x08,0x08,0x08,0x04,0x02,0x00,
0x08,0x04,0x02,0x02,0x02,0x04,0x08,0x00,
0x00,0x04,0x15,0x0E,0x15,0x04,0x00,0x00,
0x00,0x04,0x04,0x1F,0x04,0x04,0x00,0x00,
0x00,0x00,0x00,0x00,0x0C,0x04,0x08,0x00,
0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x00,
0x00,0x01,0x02,0x04,0x08,0x10,0x00,0x00,
0x0E,0x11,0x13,0x15,0x19,0x11,0x0E,0x00,
0x04,0x0C,0x04,0x04,0x04,0x04,0x0E,0x00,
0x0E,0x11,0x01,0x02,0x04,0x08,0x1F,0x00,
0x1F,0x02,0x04,0x02,0x01,0x11,0x0E,0x00,
0x02,0x06,0x0A,0x12,0x1F,0x02,0x02,0x00,
0x1F,0x10,0x1E,0x01,0x01,0x11,0x0E,0x00,
0x06,0x08,0x10,0x1E,0x11,0x11,0x0E,0x00,
0x1F,0x01,0x02,0x04,0x08,0x08,0x08,0x00,
0x0E,0x11,0x11,0x0E,0x11,0x11,0x0E,0x00,
0x0E,0x11,0x11,0x0F,0x01,0x02,0x0C,0x00,
0x00,0x0C,0x0C,0x00,0x0C,0x0C,0x00,0x00,
0x00,0x0C,0x0C,0x00,0x0C,0x04,0x08,0x00,
0x02,0x04,0x08,0x10,0x08,0x04,0x02,0x00,
0x00,0x00,0x1F,0x00,0x1F,0x00,0x00,0x00,
0x08,0x04,0x02,0x01,0x02,0x04,0x08,0x00,
0x0E,0x11,0x01,0x02,0x04,0x00,0x04,0x00,
0x0E,0x11,0x01,0x0D,0x15,0x15,0x0E,0x00,
0x0E,0x11,0x11,0x11,0x1F,0x11,0x11,0x00,
0x1E,0x11,0x11,0x1E,0x11,0x11,0x1E,0x00,
0x0E,0x11,0x10,0x10,0x10,0x11,0x0E,0x00,
0x1C,0x12,0x11,0x11,0x11,0x12,0x1C,0x00,
0x1F,0x10,0x10,0x1E,0x10,0x10,0x1F,0x00,
0x1F,0x10,0x10,0x1E,0x10,0x10,0x10,0x00,
0x0E,0x11,0x10,0x17,0x11,0x11,0x0F,0x00,
0x11,0x11,0x11,0x1F,0x11,0x11,0x11,0x00,
0x0E,0x04,0x04,0x04,0x04,0x04,0x0E,0x00,
0x07,0x02,0x02,0x02,0x02,0x12,0x0C,0x00,
0x11,0x12,0x14,0x18,0x14,0x12,0x11,0x00,
0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0x00,
0x11,0x1B,0x15,0x15,0x11,0x11,0x11,0x00,
0x11,0x11,0x19,0x15,0x13,0x11,0x11,0x00,
0x0E,0x11,0x11,0x11,0x11,0x11,0x0E,0x00,
0x1E,0x11,0x11,0x1E,0x10,0x10,0x10,0x00,
0x0E,0x11,0x11,0x11,0x15,0x12,0x0D,0x00,
0x1E,0x11,0x11,0x1E,0x14,0x12,0x11,0x00,
0x0F,0x10,0x10,0x0E,0x01,0x01,0x1E,0x00,
0x1F,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
0x11,0x11,0x11,0x11,0x11,0x11,0x0E,0x00,
0x11,0x11,0x11,0x11,0x11,0x0A,0x04,0x00,
0x11,0x11,0x11,0x15,0x15,0x15,0x0A,0x00,
0x11,0x11,0x0A,0x04,0x0A,0x11,0x11,0x00,
0x11,0x11,0x11,0x0A,0x04,0x04,0x04,0x00,
0x1F,0x01,0x02,0x04,0x08,0x10,0x1F,0x00,
0x0E,0x08,0x08,0x08,0x08,0x08,0x0E,0x00,
0x11,0x0A,0x1F,0x04,0x1F,0x04,0x04,0x00,
0x0E,0x02,0x02,0x02,0x02,0x02,0x0E,0x00,
0x04,0x0A,0x11,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x00,
0x08,0x04,0x02,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x0E,0x01,0x0F,0x11,0x0F,0x00,
0x10,0x10,0x16,0x19,0x11,0x11,0x1E,0x00,
0x00,0x00,0x0E,0x10,0x10,0x11,0x0E,0x00,
0x01,0x01,0x0D,0x13,0x11,0x11,0x0F,0x00,
0x00,0x00,0x0E,0x11,0x1F,0x10,0x0E,0x00,
0x06,0x09,0x08,0x1C,0x08,0x08,0x08,0x00,
0x00,0x0F,0x11,0x11,0x0F,0x01,0x0E,0x00,
0x10,0x10,0x16,0x19,0x11,0x11,0x11,0x00,
0x04,0x00,0x0C,0x04,0x04,0x04,0x0E,0x00,
0x02,0x00,0x06,0x02,0x02,0x12,0x0C,0x00,
0x10,0x10,0x12,0x14,0x18,0x14,0x12,0x00,
0x0C,0x04,0x04,0x04,0x04,0x04,0x0E,0x00,
0x00,0x00,0x1A,0x15,0x15,0x11,0x11,0x00,
0x00,0x00,0x16,0x19,0x11,0x11,0x11,0x00,
0x00,0x00,0x0E,0x11,0x11,0x11,0x0E,0x00,
0x00,0x00,0x1E,0x11,0x1E,0x10,0x10,0x00,
0x00,0x00,0x0D,0x13,0x0F,0x01,0x01,0x00,
0x00,0x00,0x16,0x19,0x10,0x10,0x10,0x00,
0x00,0x00,0x0E,0x10,0x0E,0x01,0x1E,0x00,
0x08,0x08,0x1C,0x08,0x08,0x09,0x06,0x00,
0x00,0x00,0x11,0x11,0x11,0x13,0x0D,0x00,
0x00,0x00,0x11,0x11,0x11,0x0A,0x04,0x00,
0x00,0x00,0x11,0x11,0x15,0x15,0x0A,0x00,
0x00,0x00,0x11,0x0A,0x04,0x0A,0x11,0x00,
0x00,0x00,0x11,0x11,0x0F,0x01,0x0E,0x00,
0x00,0x00,0x1F,0x02,0x04,0x08,0x1F,0x00,
0x02,0x04,0x04,0x08,0x04,0x04,0x02,0x00,
0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
0x08,0x04,0x04,0x02,0x04,0x04,0x08,0x00,
0x00,0x04,0x02,0x1F,0x02,0x04,0x00,0x00,			// pfeil rechts
0x00,0x04,0x08,0x1F,0x08,0x04,0x00,0x00			// pfeil links
};

void send_char(unsigned char);
void send_data(unsigned char);
void senden_spi(unsigned char);
void delay(unsigned char);
void zeichen (unsigned char,unsigned char,unsigned char,unsigned char,unsigned char);
void zeichen_big (unsigned char,unsigned char,unsigned char,unsigned char,unsigned char);
void zeichen_big2 (unsigned char,unsigned char,unsigned char,unsigned char,unsigned char);



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -