Error Code not compatible with this board type

D:\NUP STUDIO\Iron_Man_Servo-3.0.1.2\Iron_Man_Servo\Iron_Man_Servo.ino:42:4: error: #error Code not compatible with this board type.
   #error Code not compatible with this board type.
    ^
exit status 1

Compilation error: #error Code not compatible with this board type.

i'm using attiny85 and Arduino AVR, Digistump AVR Board

It means the code or library you are trying to use is not compatible with the type of Arduino you are using.

Your topic has been moved! Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.


I don't think that the error message can be much clearer. However your opening post could have cleared many doubts that we have like

  1. Your code (posted using code tags as described in How to get the best out of this forum).
  2. The board that you are compiling for.
  3. Links to the libraries that your are using.

weird, last time it worked properly

Ah, but last time was different.

Hi @boypii. Were you using a different Arduino board at the time it worked?

The creators of this sketch explicitly configured it to fail with this message when compiled with an ATtiny85-based board selected in Arduino IDE, so the compilation failure is completely expected:

so aTtiny85 wont work anymore? Last time - 2 weeks ago, i used the same aTtiny85 board to uploaded the code. Today, i come back to make some adjustments on servo and turn out the code not compatible anymore =((

No you didn't. At least not with that code and that board.

Nothing in the GitHub code has changed for the past 10 months. The README page specifically says "Arduino Nano Board":

image

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.