Jun 03, 2021
05:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 03, 2021
05:00 AM
I am Using the Controller CY8C29466-24SXI . In that Just Configuring the Port Pin to Turn ON And OFF the LED . But Controller Not responding its Points to Always HIGH State .
Source Code :
void main(void)
{
M8C_EnableGInt;
PRT2DR = 0;
VLT_CR = VLT_CR_4V5_POR;
while(1)
{
PRT1DR = 0x00;
PRT0DR = 0;
PRT2DR = 0;
}
}
Note : PORT Pins were Configured as Respective Global Out
Kindly Help me if I Miss anything on the Global resource Configurations Parameters
Solved! Go to Solution.
Labels
- Tags:
- LED ON OFF
1 Solution
Jun 03, 2021
10:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 03, 2021
10:07 PM
Hello @Praba ,
You will have to configure the port pins individually as output, in the Pinout section. Output can be one of "Open Drain Low", "Pull Up" or "Strong".
Best regards,
Sampath Selvaraj
5 Replies