Author |
Message |
Topic: Pwm no way CCP for Timer0 |
Charles Francês
Replies: 1
Views: 10856
|
Forum: General CCS C Discussion Posted: Mon Apr 27, 2020 6:07 pm Subject: Pwm no way CCP for Timer0 |
Hello!
Ttelmah, I wanted the 3 pwm to read the values of the matrix understood without being automatic in the for loop
God bless you Thank you for your help !
#include <16F628A.h&g ... |
Topic: Pwm LED RGB with Timer |
Charles Francês
Replies: 3
Views: 14229
|
Forum: General CCS C Discussion Posted: Mon Apr 27, 2020 5:20 pm Subject: Pwm LED RGB with Timer |
Ttelmah
Ok thanks
I'm trying to vary the duty cycle with a
matrix, you know? in this case, this three-dimensional matrix increases 3 indices in the first index 0
and in the second index 1 type ... |
Topic: Pwm LED RGB with Timer |
Charles Francês
Replies: 3
Views: 14229
|
Forum: General CCS C Discussion Posted: Mon Apr 27, 2020 10:14 am Subject: Pwm LED RGB with Timer |
I understand that to read the duty cycle you can also write in the PDC0L / H register.
Example:
PDC0H = MATRIX [PWM1] >> 8
PDC0L = MATRIX [PWM1]
Help me please! |
Topic: Pwm LED RGB with Timer |
Charles Francês
Replies: 3
Views: 14229
|
Forum: General CCS C Discussion Posted: Mon Apr 27, 2020 10:04 am Subject: Pwm LED RGB with Timer |
I'm wanting to read the duty cycle values through a matrix and I don't
know how to do it, someone could help me, I'm in doubt in the code.
Pic <18fxxx >
#fuses ..........
#int timer0
I ... |
Topic: Some question regarding pwm |
Charles Francês
Replies: 5
Views: 19301
|
Forum: General CCS C Discussion Posted: Mon Apr 27, 2020 9:41 am Subject: Some question regarding pwm |
if you're looking to use pwm, you can also do it without CCP. set_power_pwm_override (pwm, override, value) - This function determines whether the OVDCONS or the PDC registers determine the PWM output ... |
Topic: Control motor brushless ccs c |
Charles Francês
Replies: 4
Views: 14198
|
Forum: General CCS C Discussion Posted: Sun Mar 01, 2020 10:07 am Subject: Control motor brushless ccs c |
Thanks! Charles |
Topic: Control motor brushless ccs c |
Charles Francês
Replies: 4
Views: 14198
|
Forum: General CCS C Discussion Posted: Sat Feb 29, 2020 3:01 pm Subject: Control motor brushless ccs c |
Hello guys from CCS C How are you? I'm studying brushless motors and I'm having trouble understanding this code. Could someone explain to me how this code works on bldc motors with hall sensor? and if ... |
|