Pages: 1 [2]   Go Down
Author Topic: lcd keypad  (Read 1074 times)
0 Members and 1 Guest are viewing this topic.
Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 613
Posts: 49310
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It certainly looks cleaner.
It would look even better if you used Tools + Auto Format.

Code:
    return;
   
  for (int zz=0; zz<16; zz++) // wipe attempt
  {
    attempt[zz]=0;
  }
We're done. Oh, and by the way do this. No. Doesn't work that way. Nothing after the return statement is executed. And, in a string, you only need one NULL.
Logged

London-UK
Offline Offline
Full Member
***
Karma: 1
Posts: 106
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Quote
It would look even better if you used Tools + Auto Format
.

Yes your right, I normally do.

 
Quote
We're done. Oh, and by the way do this. No. Doesn't work that way. Nothing after the return statement is executed. And, in a string, you only need one NULL.

Yes, I see.....how do you know so much! smiley-red
Logged

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

Quote
how do you know so much!
I know how to debug my code. Good thing, too. Some of it is pretty buggy. I've been making a living doing computer programming for 33 years now.
Logged

Pakistan
Offline Offline
Sr. Member
****
Karma: 6
Posts: 357
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
how do you know so much!
I know how to debug my code. Good thing, too. Some of it is pretty buggy. I've been making a living doing computer programming for 33 years now.
+Karma to Paul. You are the man smiley-cool
Logged


Pages: 1 [2]   Go Up
Jump to: