init arduino pwm driver

This commit is contained in:
Harald Pichler 2017-07-21 13:31:44 +02:00
parent a6670d99a8
commit 4b1580cc70

View file

@ -53,6 +53,7 @@ Grove_LED_Bar bar(9, 8, 1); // Clock pin, Data pin, Orientation
void setup (void)
{
// BB-L298
arduino_pwm_timer_init ();
pinMode(BB_IN3, OUTPUT);
pinMode(BB_IN4, OUTPUT);
IN3_L;