misc.h

来自「AVR单片机 C语言程序设计经典实用」· C头文件 代码 · 共 29 行

H
29
字号
//******************************************************************************
// File Name : Gpio.h
// Author    : Steaven
// Created   : 2008-06-09
// Modified  : 
// Revision  : V0.0
//******************************************************************************

//macro declaration
#define cKey1 0
#define cKey2 1
#define cKey3 2
#define cKey4 3

#define cLED1 4
#define cLED2 5
#define cLED3 6
#define cLED4 7    

//global function(s) declaration
void LED_OFF(INT8U Index);
void LED_ON(INT8U Index);
void LED_TOGGLE(INT8U Index);
void Key_Detection(void);

//===============================END OF FILE==================================//


⌨️ 快捷键说明

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