Error compiling arduino micro v4

First post. I tried to upload the ino to the teensy but im getting a compiling error. I’m sure its something Im doing wrong. I can upload a blank sketch no problem. But when I select the Micro 4.5 autosteer it gives me an error.

Try searching or looking on the github for the new software called ‘configomatic’ it has all the right files all in one place.
Try here

You only have the one INO there, where are the rest? They should be in the same folder - but as was said, use AOGConfigOMatic, it’s much simpler.

Thank you for the replies. So if i may, one more question. I am using the baraki hydraulic valve for steering. what files are needed on the teensy? Is it just the all in one? Im assuming i will needed the can bus for the all in one board? But my assumptions have been wrong. Thank you again

That did work! Thank you. This is all new to me

i used the configOmatic to program my teensy and I used the “All-in-one (for v4.x)” file, because that is the all in one board I am using. I did not use any special programming file for the baraki hydraulic valve and none was needed. it gets signals from the cytron, the same as if you were useing an electric moter on the steering wheel. as i understand, canbus is for using AOG in a tractor that already has all the hardware for autosteer from the factory, and you basically just want to have AOG talk to the tractors computer and send autosteer commands that way.

hope that helps!

yes that did thank you

Old topic, but still the problem.
I got some Arduino Micros, happy, that finally can use same USB cables everywhere and no stupid drivers needed, specifically after Win updates, that like to reset everything. But surprise, surprise, Compilation error: ‘TCCR2B’ was not declared in this scope.
Maybe someone know, which and how script have to be modified?
(So nano usb.ino could be used on micro)

You’ll need to provide a lot more information than that. What firmware, what settings you have in the IDE etc

Autosteer_USB_v5.ino
Programmer: AVRISP mkll
Board selected: Arduino Micro.
After comenting out 2x lines, for Timer 2, what doesn’t exist in Micro, script compiles, uploads, but AGO doesn’tcomunicate correctly. In AGO serial Debug, Test message “Hello” goes trought, so it is not the lost case.

if (PWM_Frequency == 1)
{
// TCCR2B = TCCR2B & B11111000 | B00000110; // set timer 2 to 256 for PWM frequency of 122.55 Hz
TCCR1B = TCCR1B & B11111000 | B00000100; // set timer 1 to 256 for PWM frequency of 122.55 Hz
}

else if (PWM_Frequency == 2)
{
  TCCR1B = TCCR1B & B11111000 | B00000010;    // set timer 1 to 8 for PWM frequency of  3921.16 Hz

// TCCR2B = TCCR2B & B11111000 | B00000010; // set timer 2 to 8 for PWM frequency of 3921.16 Hx