- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying the blinking LED program on the CY8CKIT-046. The code:
for(;;)
{
Pin_Red_Write( ! Pin_Red_Read() );
CyDelay(500);
}
I set the hardware pin to P0[3]. The programmer displays 'Device .... was successfully programmed' yet no LED is blinking.
Should I be setting a different port/pin for the -046 kit's onboard LED?
Solved! Go to Solution.
- Labels:
-
ispn:39616:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
CY8CKIT-046 has onboard RGB LED and your code seems no problem, but your pin assignment is wrong.
In CY8CKIT-046 kit, RGB LED is connected with P5.2(R), P5.3(G) and P5.4(B). You can also find the schematic in kit guide page 55.
Please change the pin assignment and re-test.
Thanks,
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
CY8CKIT-046 has onboard RGB LED and your code seems no problem, but your pin assignment is wrong.
In CY8CKIT-046 kit, RGB LED is connected with P5.2(R), P5.3(G) and P5.4(B). You can also find the schematic in kit guide page 55.
Please change the pin assignment and re-test.
Thanks,
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Brandon! That had me stuck - all good now.