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;
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;