Cypress技术william hill官网
直播中

李亮

7年用户 212经验值
私信 关注
[问答]

CY8CKIT-143A PSoC 4 BLE做LED闪烁不起作用

我有PSoC4,我试图做LED闪烁,但它不起作用。我相信MCU的选择是错误的。有没有人知道我该如何解决我的问题?

以上来自于百度翻译


     以下为原文
  I have psoc4 ble , I was trying to do led blinking but it didn't work. I believe the MCU selection is wrong. Does anyone has idea how can I fix my problem and make is work?

回帖(1)

付雯瑶

2018-12-4 11:58:36
好的,这是一个蓝色的程序,但是你可以通过删除这个代码区域中的注释代码来改变它为绿色或红色。
虚空初始化系统(无效)
{
环磷酸脂;
//ReDyStDeReVeMeDe(Read);
//GrimoSeDeldReVeMod(GrimixDim-Stand);
BuffySoStReDelvMeDe(Bug
}
这是一个评论。
PSOCK44FLASHLID.CYWRK.SARVEVE02.ZIP
447.4 K

以上来自于百度翻译


     以下为原文
  Okay here is a program that works it's set for blue but you can change it to Green or Red by removing the commented code in this code area.
void InitializeSystem(void)
{
    CyGlobalIntDisable;
   
//    RED_SetDriveMode(RED_DM_STRONG);
//    GREEN_SetDriveMode(GREEN_DM_STRONG);
    BLUE_SetDriveMode(BLUE_DM_STRONG);
   
}
// this is a comment.


举报

更多回帖

发帖
×
20
完善资料,
赚取积分