Open sniperxnl opened 8 years ago
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.
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..
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(ringbuffer, ringbuffer, volatile uint8t, volatile uint8t, volatile uint8t, volatile uint8t, volatile uint8t, volatile uint8t, 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(ringbuffer, ringbuffer, volatile uint8t, volatile uint8t, volatile uint8t, volatile uint8t, volatile uint8t, volatile uint8t, 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&)