Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main functions not defined #56

Open
alexdrymonitis opened this issue Aug 19, 2018 · 3 comments
Open

Main functions not defined #56

alexdrymonitis opened this issue Aug 19, 2018 · 3 comments

Comments

@alexdrymonitis
Copy link

I installed the package on Ubunstu Studio 18.04, Atom 1.29.0.
Trying to upload a test blink sketch I get:

undefined reference to 'setup'
undefined reference to 'loop'

I've set the path to my Arduino executable, which is 1.8.5
I also see that it's using an older version of the Arduino, 1.6.21, right? Can that be an issue?

@Sorunome
Copy link
Owner

what is the arduino sketch you are trying to compile & upload?

@alexdrymonitis
Copy link
Author

int ledPin = 13;

void setup() {
  pinMode(ledPin, OUTPUT);
}

void loop() {
  digitalWrite(ledPin, HIGH);
  delay(200);
  digitalWrite(ledPin, LOW);
  delay(1000);
}

@StaticRocket
Copy link
Collaborator

StaticRocket commented Jan 5, 2019

I also see that it's using an older version of the Arduino, 1.6.21, right? Can that be an issue?

Ordinarily it could, but I just compiled this on 1.8.5 without any issues.
@alexdrymonitis Is this issue still present?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants