Hi there,
I'm trying to get the hpwm command to make period pulses of 10000us on the basicatom 24-m board.
The atom_manual says the following:
Quote:
HPWM pin,period,duty
Period is an expression of the period of the pulse width signal in
microseconds(us).
i do the following:
Code:
select con 0
period var long
duty var long
period=10000
duty=5000
HPWM select, period, duty
but end up with a period of 500us. so i figure to multiply <period> and <duty> by 20 to get 10000us but end up with a period just below 200us. am i using the hpwm command incorrectly or is something else amiss here?