Saeterncj / MX1508

Arduino library for MX1508 dual DC motor driver
MIT License
35 stars 15 forks source link

MX1508.cpp: In member function 'void MX1508::setResolution(unsigned int)': #4

Closed SeanDolan closed 3 years ago

SeanDolan commented 3 years ago

There are a number of errors when trying to verify the example sketches. The first one (after the number of pins issue I also opened) is this, just from any of the example files:

C:\Users\xxxxx\Documents\Arduino\libraries\MX1508\MX1508.cpp: In member function 'void MX1508::setResolution(unsigned int)': C:\Users\xxxxx\Documents\Arduino\libraries\MX1508\MX1508.cpp:32:25: error: 'ICR1' was not declared in this scope if(_useAnalogWrite16) ICR1 = pwmResolution;

SeanDolan commented 3 years ago

Closed due to duplicate submission (GitHub error)