- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good afternoon. How can I replace the block in the figure below (used in a Psoc 4); in a Psoc 5LP? How can I do it? Thank you!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried with CY8CKIT-059.
Can this be what you were asking for?
main.c
============================
#include "project.h"
void init_hardware(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
PWM_WriteCompare(0) ;
PWM_Start() ;
}
int main(void)
{
uint8_t red = 0 ;
init_hardware() ;
for(;;)
{
PWM_WriteCompare(red) ;
red = (red + 1) % 0x100 ;
CyDelay(10) ;
}
}
============================
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried with CY8CKIT-059.
Can this be what you were asking for?
main.c
============================
#include "project.h"
void init_hardware(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
PWM_WriteCompare(0) ;
PWM_Start() ;
}
int main(void)
{
uint8_t red = 0 ;
init_hardware() ;
for(;;)
{
PWM_WriteCompare(red) ;
red = (red + 1) % 0x100 ;
CyDelay(10) ;
}
}
============================
moto