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

Ghettostation compile error #23

Open
sniperxnl opened this issue Dec 18, 2015 · 1 comment
Open

Ghettostation compile error #23

sniperxnl opened this issue Dec 18, 2015 · 1 comment

Comments

@sniperxnl
Copy link

In file included from GhettoStation.ino:38:
GhettoStation.h:12: error: no matching function for call to 'HardwareSerial::HardwareSerial()'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:54: note: candidates are: HardwareSerial::HardwareSerial(ring_buffer_, ring_buffer_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:33: note: HardwareSerial::HardwareSerial(const HardwareSerial&)
GhettoStation.h:13: error: no matching function for call to 'HardwareSerial::HardwareSerial()'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:54: note: candidates are: HardwareSerial::HardwareSerial(ring_buffer_, ring_buffer_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, volatile uint8_t_, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:33: note: HardwareSerial::HardwareSerial(const HardwareSerial&)

@Landin81
Copy link

Landin81 commented Feb 7, 2016

First of all. I read some where this could be done on a UNO or nano, but you cant. It has to be a MEGA.

Open up your ino sketch and click on the Config.H
locate:

//########## BOARD ################################################################################################
//#define TEENSYPLUS2 // Teensy++2 support.
#define MEGA // Arduino Mega board

delete or add "//" and choose what board you are running.

You also have to choose board type in arduino before verifying your sketch.

Hope it got you a bit forward..

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

2 participants