Go Down

Topic: Code error MAX7219 help (Read 1 time) previous topic - next topic

Heinzy

Hey guys, me again

Ive sorted out now my hardware side of my 8x16 led display as here : http://arduino.cc/forum/index.php/topic,56150.0.html

Now im onto writing the code, which i am a complete novice at
On my 5x5 Daft Punk LED table i copied a code from instructable and just changed the binary, which was easy

Now ive tried to copy the code from here :
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206026878/0

but when i try to varify the code i get an error come up
'beginSerial' was not declared in this scope

Why would i get this if ive copied and pasted a known working code?

I wanted to get at least an 8x8 code working before i try to adapt it for a 8x16!

Any help will be much appreciated

Korman

Quote
Why would i get this if ive copied and pasted a known working code?


Well, times change, things get old and rusty and progress is inevitable. The code was working at the time it was written. Since then, the Arduino serial communication library has been reworked for a good reason and the old style interface has been removed. Use Serial.begin instead.

And before you start wailing about who dares to change things, remember: Your rights are limited to what you paid for the software. If you don't like it, you can get a full refund or start improve the software yourself the way you see fit.

Korman

Heinzy

Thats worked it fine thanks!

Ill get it uploaded on the arduino later and post back my results  :)

And dont worry, i wouldnt wail about anything, im just greatful of the support and help everyone gives!

Go Up