error "ONLY SUPPORTED ON AVR PROCESSORS"

So,I was creating a game called simon says and I wrote a code for it,I don’t know why,but an error popped up and I don’t know how to fix it.

ERROR MESSAGE<Arduino: 1.8.9 (Windows 10), Board: “Arduino/Genuino MKR1000”

In file included from C:\Users\Jakov\AppData\Local\Temp\projekt_CTK_kamp\projekt_CTK_kamp.ino:11:0:

C:\Users\Jakov\Documents\Arduino\libraries\LiquidCrystal_I2C/SoftI2CMaster.h:509:2: error: #error “ONLY SUPPORTED ON AVR PROCESSORS”

#error “ONLY SUPPORTED ON AVR PROCESSORS”

^

exit status 1
Error compiling for board Arduino/Genuino MKR1000.

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

Code:
#include <I2CIO.h>
#include <LCD.h>
#include <LiquidCrystal.h>
#include <LiquidCrystal_I2C_ByVac.h>
#include <LiquidCrystal_SI2C.h>
#include <LiquidCrystal_SR.h>
#include <LiquidCrystal_SR1W.h>
#include <LiquidCrystal_SR2W.h>
#include <LiquidCrystal_SR3W.h>
#include <SI2CIO.h>
#include <SoftI2CMaster.h>
LiquidCrystal lcd(9, 10, 14, 13, 12, 11);
int crvgumb = 1;
int zelgumb = 2;
int plagumb = 3;
int zutgumb = 4;
int crvled = 5;
int zelled = 6;
int plaled = 7;
int zutled = 8;
int odg=0;
int i=0;
int bodovi;
int u;
int k;
int ran;
int level;
int e[9000];
int vrijeme=1000;
int stanjecrv;
int stanjezel;
int stanjepla;
int stanjezut;
int bazer = 9;
int l;
void setup() {
lcd.begin(16, 2);
pinMode(crvgumb,INPUT_PULLUP);
pinMode(zelgumb,INPUT_PULLUP);
pinMode(plagumb,INPUT_PULLUP);
pinMode(zutgumb,INPUT_PULLUP);
pinMode(crvled,OUTPUT);
pinMode(zelled,OUTPUT);
pinMode(plaled,OUTPUT);
pinMode(zutled,OUTPUT);
pinMode(bazer,OUTPUT);
randomSeed(analogRead(0));
}

void loop() {
level=1;
while(odg<1){
u=0;
ran=random(1,5);
e*=ran;*

  • i++;*
  • for(l=0;l<i;l++){*
    _ ran=e*;_
    _
    if (ran==1){_
    _
    digitalWrite(crvled,HIGH);_
    _
    delay(vrijeme);_
    _
    digitalWrite(crvled,LOW);_
    _
    }_
    _
    if (ran==2){_
    _
    digitalWrite(zelled,HIGH);_
    _
    delay(vrijeme);_
    _
    digitalWrite(zelled,LOW);_
    _
    }_
    _
    if (ran==3){_
    _
    digitalWrite(plaled,HIGH);_
    _
    delay(vrijeme);_
    _
    digitalWrite(plaled,LOW);_
    _
    }_
    _
    if (ran==4){_
    _
    digitalWrite(zutled,HIGH);_
    _
    delay(vrijeme);_
    _
    digitalWrite(zutled,LOW);_
    _
    }_
    _
    }_
    _
    vrijeme-=80;_
    _
    while(u<i){_
    _
    k=0;_
    _
    stanjezut=digitalRead(zutgumb);_
    _
    stanjepla=digitalRead(plagumb);_
    _
    stanjezel=digitalRead(zelgumb);_
    _
    stanjecrv=digitalRead(crvgumb);_
    _
    if (stanjezut=LOW){_
    _
    k=4;_
    _
    }_
    _
    else{_
    _
    if(stanjepla=LOW){_
    _
    k=3;_
    _
    }_
    _
    else{_
    _
    if(stanjezel=LOW){_
    _
    k=2;_
    _
    }_
    _
    else{_
    _
    k=1;_
    _
    }_
    _
    }_
    _
    }_
    _
    if (k=ran){_
    _
    tone(bazer,1915,100);_
    _
    u+=1;_
    _
    bodovi+=1;_
    _
    }_
    _
    if (k!=ran and k!=0){_
    _
    u=i;_
    _
    tone(bazer,100,400);_
    _
    digitalWrite(crvled,HIGH);_
    _
    digitalWrite(plaled,HIGH);_
    _
    digitalWrite(zelled,HIGH);_
    _
    digitalWrite(zutled,HIGH);_
    _
    delay(200);_
    _
    tone(bazer,100,400);_
    _
    digitalWrite(crvled,LOW);_
    _
    digitalWrite(plaled,LOW);_
    _
    digitalWrite(zelled,LOW);_
    _
    digitalWrite(zutled,LOW);_
    _
    tone(bazer,100,400);_
    _
    digitalWrite(crvled,HIGH);_
    _
    digitalWrite(plaled,HIGH);_
    _
    digitalWrite(zelled,HIGH);_
    _
    digitalWrite(zutled,HIGH);_
    _
    delay(200);_
    _
    tone(bazer,100,400);_
    _
    digitalWrite(crvled,LOW);_
    _
    digitalWrite(plaled,LOW);_
    _
    digitalWrite(zelled,LOW);_
    _
    digitalWrite(zutled,LOW);_
    _
    tone(bazer,100,400);_
    _
    digitalWrite(crvled,HIGH);_
    _
    digitalWrite(plaled,HIGH);_
    _
    digitalWrite(zelled,HIGH);_
    _
    digitalWrite(zutled,HIGH);_
    _
    delay(200);_
    _
    tone(bazer,100,400);_
    _
    digitalWrite(crvled,LOW);_
    _
    digitalWrite(plaled,LOW);_
    _
    digitalWrite(zelled,LOW);_
    _
    digitalWrite(zutled,LOW);_
    _
    u=i;_
    _
    odg=1;_
    _
    }_
    _
    }_
    _
    level+=1;_
    _
    bodovi+=5;_
    _
    }*_

}
Also if you can give me a code with LCD,sound,leds and a picture of how I should connect the wires that could be great!!
Thank You

MKR1000 is not AVR. it is ARM SAMD

tags

And .....Look at examples for LCD displays for connections etc .

Why so many libraries included ?

Simply you can’t use that library on that processor.

This is because it uses hardware components in the AVR class of processors that do not exist, or operate differently on the MKR1000 class of processors.

So unless you are willing to rewrite the library using other hardware resources or a software emulation of them, you problem does not have a solution.

int e[9000];
   :::
ran=random(1,5);
e=ran;
 i++;
 for(l=0;l<i;l++){
    ran=e;
     if (ran==1){
         :::
      }
 }

I can’t explain or imagine what you were thinking.