You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
620 B
28 lines
620 B
3 years ago
|
/*
|
||
|
* @Author: your name
|
||
|
* @Date: 2022-04-10 10:08:56
|
||
|
* @LastEditTime: 2022-05-10 20:41:32
|
||
|
* @LastEditors: htujun 134864016@qq.com
|
||
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%A
|
||
|
* @FilePath: \20220410-IntelligentPiggery\stm32\HARDWARE\LED\led.h
|
||
|
*/
|
||
|
#ifndef __LED_H
|
||
|
#define __LED_H
|
||
|
#include "sys.h"
|
||
|
|
||
|
#define LED0 PBout(6)
|
||
|
#define LED1 PBout(7)
|
||
|
#define LED2 PBout(8)
|
||
|
#define BEEP PBout(9)
|
||
|
|
||
|
#define HOT PBout(12)
|
||
|
#define COOL PBout(14)
|
||
|
|
||
|
#define waterPump PCout(13)
|
||
|
#define cupLid PCout(14)
|
||
|
|
||
|
void LED_Init(void);
|
||
|
|
||
|
|
||
|
#endif
|