init arduino pwm driver
This commit is contained in:
parent
a6670d99a8
commit
4b1580cc70
|
@ -53,6 +53,7 @@ Grove_LED_Bar bar(9, 8, 1); // Clock pin, Data pin, Orientation
|
||||||
void setup (void)
|
void setup (void)
|
||||||
{
|
{
|
||||||
// BB-L298
|
// BB-L298
|
||||||
|
arduino_pwm_timer_init ();
|
||||||
pinMode(BB_IN3, OUTPUT);
|
pinMode(BB_IN3, OUTPUT);
|
||||||
pinMode(BB_IN4, OUTPUT);
|
pinMode(BB_IN4, OUTPUT);
|
||||||
IN3_L;
|
IN3_L;
|
||||||
|
|
Loading…
Reference in a new issue