📄 general.h
字号:
/******************************************************************************
* Compiler: WinAVR(GCC)
* Device: ATtiny13
* File name: general.h
* description: Main headfile
* Programmer: Liansen.Wang
* Revision: 1.0
* Modtime: 2005-08-22
*******************************************************************************/
#ifndef GENERAL_H
#define GENERAL_H
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/signal.h>
#include <avr/pgmspace.h>
#include "DisplayAndKey.h"
#include "IR.h"
/*============================================================
PORTB port function settings
============================================================*/
//SPI Interface ports-settings
#define STB PB0
#define DATA PB1
#define SCK PB2
//Remote Control port settings
#define IR PB3
//Other Ports settings
#define LED PB4
#define RESET PB5
#define TRUE 1
#define FALSE 0
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -