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.
|
|
|
|
/*
|
|
|
|
|
* @Author: your name
|
|
|
|
|
* @Date: 2022-04-10 10:08:56
|
|
|
|
|
* @LastEditTime: 2022-04-16 14:47:34
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @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 LED_CONDITIONER PBout(12) // PB5
|
|
|
|
|
|
|
|
|
|
// 水帘
|
|
|
|
|
#define LED_NAPPE PBout(13) // PB6
|
|
|
|
|
|
|
|
|
|
// 水枪
|
|
|
|
|
#define LED_WATER_GUN PBout(14) // PB7
|
|
|
|
|
|
|
|
|
|
#define BEEP PAout(11)
|
|
|
|
|
|
|
|
|
|
void LED_Init(void);//<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD>
|
|
|
|
|
void Relay_Beep_Init(void);
|
|
|
|
|
void Motor_Init(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|