Go Down

Topic: Sketch won't run (Read 491 times) previous topic - next topic

avalon66

When I put Serial.begin () under void setup(void)

I got this error
exit status 1
no matching function for call to 'HardwareSerial::begin()'

So where should I put it. Actually I did ask for you to point me to where I should put Serial.begin in another post

UKHeliBob

Quote
So where should I put it. Actually I did ask for you to point me to where I should put Serial.begin in another post
Put it in setup(), but you must specify the baud rate.

When I asked what baud rate you had used in the Serial.begin() you said, in post #10
Quote
It was 57600 as specified in the said sketch
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

avalon66

So as before I uploaded the Parola_Scrolling sketch and it returned the exact same in a Serial Monitor as it did before.

The display lights up, but does not show anything at all in the display.

avalon66

I have solved the problem now, in that I am now powering the Arduino by a 9volt power supply, and the display is now working fine. The text and numbers are scrolling across the the display.

I finally realised that 5volts was never going to be enough, as there are 3 devices connected to the breadboard, which all are 5 volt devices.

Thanks

Go Up