Hello,
I'm stuck trying to turn a servomotor (SG 90) with a LAUNCHXL-F28379D. I have a PWM signal on my scope but it's way too fast for the servo : I have 6.25 kHz and with an Arduino (using the library Servo.h) I have 49 Hz (something like that). I know why my signal is too fast, but I don't know how to slow it down. This is what I have from the user guide :
For the SG 90, T_ {PWM} needs to be at 20 ms. I know that T_{TBCLK} is 10 ns (and I don't know how I can change it, there is nothing about that in the user guide). So I calculated TBPRD to be 2 000 000 but it is too large for an Uint16 !
I don't what should I do.. Do you have an idea?
Thanks a lot for your time.
I'm stuck trying to turn a servomotor (SG 90) with a LAUNCHXL-F28379D. I have a PWM signal on my scope but it's way too fast for the servo : I have 6.25 kHz and with an Arduino (using the library Servo.h) I have 49 Hz (something like that). I know why my signal is too fast, but I don't know how to slow it down. This is what I have from the user guide :
For the SG 90, T_ {PWM} needs to be at 20 ms. I know that T_{TBCLK} is 10 ns (and I don't know how I can change it, there is nothing about that in the user guide). So I calculated TBPRD to be 2 000 000 but it is too large for an Uint16 !
I don't what should I do.. Do you have an idea?
Thanks a lot for your time.