init arduino pwm driver
This commit is contained in:
parent
a6670d99a8
commit
4b1580cc70
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue