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

Error #25

Open
sniperxnl opened this issue Dec 22, 2015 · 3 comments
Open

Error #25

sniperxnl opened this issue Dec 22, 2015 · 3 comments

Comments

@sniperxnl
Copy link

In file included from GhettoStation.ino:38:
GhettoStation.h:12: error: no matching function for call to 'HardwareSerial::HardwareSerial(int)'
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&)

@LeoTosti
Copy link

Hello, I've got the same HardwareSerial error, have you solved this error?
Someone has a solution?
Thank you.

@Landin81
Copy link

Landin81 commented Feb 7, 2016

Same problem here. have try several different arduino versions but same problem. =/ spend about 10 hours trying to fix it... oh, sorry, 11 hours now. Thought this would be a easy diy project =(

@LeoTosti
Copy link

LeoTosti commented Feb 7, 2016

Hello I think I have solved the problem, here's the change:

#ifdef TEENSYPLUS2
// This line defines a "Uart" object to access the serial port
HardwareSerial SerialPort1(Serial1); instead of : HardwareSerial SerialPort1 = HardwareSerial();
HardwareSerial SerialDebug(Serial); instead of: HardwareSerial SerialDebug = HardwareSerial();

After that you should not have error message, but I do not think the code work when using a Teensy. No more error for me with Arduino Mega it compiles ok but I have not yet tested the station because I expected the necessary equipment, being delivered ..

Test with this change and said me if compromait or not the operation of the Ghettostation.
Well, I expect your return. :)

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