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

PSoC™ 5, 3 & 1

chmoc_1567941
Level 4
Level 4

can i use same pin to drive led and pwm ??

   

i phasing problem with global selection.

   

STDCPU state is needed for led drive and GLOBALOUTPUT EVEN or ODD for pwm.

   

can i do with any register??? 

0 Likes
2 Replies
Bob_Marlowe
Level 10
50 questions asked 10 questions asked 1000 solutions authored
Level 10

When a pin is connected to a signal a write to the data register will be overwritten by the signal.

   

Are you trying to connect an LED to a PWM? That will work. Just connect the LED to the PWM output pin.

   

 

   

Bob

0 Likes
chmoc_1567941
Level 4
Level 4

No, i am using this pin in temperature controller for drive pwm or relay output.

   

can i use this pin alternatively as pwm and relay output??

0 Likes