PWM interface
More...Pwm_Index |
Configure_Timers | |
SetRate |
This package gives an interface to the PWM hardware
15 | type Pwm_Index is (Left, Right); |
---|
PWM Left Motor or PWM Right Motor
left motor
right motor
18 | procedure Configure_Timers; |
---|
Configure the PWM timers
23 | procedure SetRate (Index : Pwm_Index; |
---|---|
24 | Value : Word); |
Set the PWM rate
left or right motor
the PWM value to set