I have a program written to drive an Octobrite on an Uno. I am replacing the Uno with a Micro. In exporting the program from Arduino IDE I get this error message: TCCR2A and the additional code in the segment below, was not declared in this scope.
Below is the section that it refers to.
Any advice on what to do??
China Blue
Start with fixing your post title. You have not having any troubles porting data from the Uno to the Micro. You are having troubles porting code from the Uno to the Micro.
n exporting the program from Arduino IDE I get this error message: TCCR2A was not declared in this scope.
That's a problem with direct hardware manipulation. The result is NOT portable. You'll need to look at the datasheet for the Uno, to see what TCCR2A refers to, and look at the datasheet for the Micro to figure out what a suitable replacement is.