Loading...
Pages: 1 [2]   Go Down
Author Topic: ps2 barcode scanner using instantly  (Read 393 times)
0 Members and 1 Guest are viewing this topic.
Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 311
Posts: 35470
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok i will work on it.
Logged

East Anglia (UK)
Offline Offline
Edison Member
*
Karma: 46
Posts: 1380
May all of your blinks be without delay
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 311
Posts: 35470
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

East Anglia (UK)
Offline Offline
Edison Member
*
Karma: 46
Posts: 1380
May all of your blinks be without delay
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Will do
Logged

Pages: 1 [2]   Go Up
Print
 
Jump to: