Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

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.

View solution in original post

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

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.

0 Likes