Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
When I try to upload to my arduino, I get an error saying, "error compiling for board arduino pro or pro mini".
Post Flair (click to view more posts with a particular flair)
Post Body

I googled the error message and all the sources I could find say that that means that there is a missing library. The code does not need any librarys as far as I know , but any advise helps, thanks! (The code is supposed to wait until 3 buttons have been pressed, and check if there is a combination that equals the pattern of buttons pressed, if there is, a pin is set to high. The code is not entirely done but it won't let me upload to test it.)

here is the code:

int A = 0;

int B = 0;

int C = 0;

int D = 0;

int E = 0;

int F = 0;

int G = 0;

int H = 0;

void setup() {

pinMode(A0 , OUTPUT);

pinMode(A1 , OUTPUT);

pinMode(A2 , OUTPUT);

pinMode(12, INPUT_PULLUP);

pinMode(11, INPUT_PULLUP);

pinMode(10, INPUT_PULLUP);

}

void loop() {

while (A < 3) {

if (digitalRead(12) == HIGH) {

B = E 1;

F = F 1;

}

if (digitalRead(11) == HIGH) {

C = E 1;

F = F 1;

}

if (digitalRead(10) == HIGH) {

D = E 1;

F = F 1;

}

}

if (A == 1 && (B == 2 && (C == 3))) {

analogWrite(1 = HIGH);

}

if (C == 1 && (B == 2 && (A == 3)))

{

analogWrite(2 = HIGH);

}

}

Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
15,875
Link Karma
3,744
Comment Karma
11,557
Profile updated: 3 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago