Go Down

Topic: ps2 barcode scanner using instantly (Read 1 time) previous topic - next topic

PaulS

Quote
Without lcd and u8g libraly, everything goes well.

You then need to include the libraries, and create the instances, but don't use them. Does the code still work?

Add parts back in until the code quits working correctly. Then, let us know what specific line of code/function call causes the program to quit.

Have you checked how much free memory you have?


UKHeliBob


Quote
Does the capitalisation of the function name matter ?

Of course it does.

In my heart of hearts I knew that, but it would be less confusing if the tutorial on the function http://arduino.cc/en/Tutorial/SerialEvent was consistent as to what it called the function.  Admittedly it is called serialEvent in the example programs but it is referred to as SerialEvent in several places in the text and comments, not least at the very start of the tutorial.

Quote
SerialEvent
Demonstrates use of the SerialEvent() function. SerialEvent() is called after a loop(), if there is serial data in the buffer.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

PaulS

Post this issue in the Website and Forum section. Of late, madbob has been very good at fixing issues in the reference documentation.

UKHeliBob

Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Go Up