Files
fastbee/sdk/合宙/air780e/csdk/wu_mei/inc/wuMeiLed.h
2023-03-04 03:44:56 +08:00

33 lines
580 B
C

#pragma once
#include "header.h"
/**************************************************************************
Copyright: 杜兴杰
Author: 杜兴杰 1066950103@qq.com
Date: 2022-11-23
Description: 物美开发板Led
**************************************************************************/
#include "luat_gpio.h"
#include "platform_define.h"
/*
*Summary:继电器初始化
*Parameters:
*Return:
*/
void ledInit();
/*
*Summary:继电器控制
*Parameters:
* nledIndex:继电器号
* nValue 设置值
*Return: 0 失败 1成功
*/
unsigned char ledControl(unsigned char nledIndex, unsigned char nValue);