What steps will reproduce the problem?
1. Launch Arduino 0022
2. Select a SoftPWM example from the examples menu
3. compile or upload the example
The compiler complains about portOutputRegister not being defined.
which is defined in pins_arduino.h in this version of arduino.
I included the header file in SoftPWM.cpp and the example worked.
#if defined(WIRING)
#include <Wiring.h>
#elif ARDUINO >= 100
#include <Arduino.h>
#else
#include <WProgram.h>
#include <pins_arduino.h>
#endif
P.S. Thanks for a nice softpwm library
Original issue reported on code.google.com by euther...@gmail.com on 23 Feb 2012 at 8:28
Original issue reported on code.google.com by
euther...@gmail.com
on 23 Feb 2012 at 8:28