KipK / Ghettostation

Multiprotocol antenna tracker and ground osd.
144 stars 69 forks source link

Ghettostation compile error #23

Open sniperxnl opened 8 years ago

sniperxnl commented 8 years ago

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&)

Landin81 commented 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.

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..