Skip to content

Does not compile on Arduino 0022 #9

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions