Pages: [1]   Go Down
Author Topic: Why dont I listen ? another afternoon wasted  (Read 599 times)
0 Members and 1 Guest are viewing this topic.
Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1189
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well I finally got my wireless text LED display going after wasting a whole afternoon again, chasing the second equals sign !
In future I will  put the variable second as in if(20==x) as I was advised last time .. :-/
« Last Edit: October 23, 2010, 03:17:41 pm by John_Smith » Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

SE USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yea I used to have that problem, then did not for the longest while, then ended up banging my head on the desk for a good 20 min over it last night

habits are hard to break sometimes though
Logged


Vejen, Denmark
Offline Offline
Edison Member
*
Karma: 7
Posts: 1178
RAWR! ^,..,^
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or the classic

Int i;
i == 1;

Then not understanding why it dosnt change smiley-wink
« Last Edit: October 23, 2010, 04:23:38 pm by bld » Logged

captain-slow.dk | non contagious!

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1189
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I havn't done that one yet, give me time ............
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

England
Offline Offline
Full Member
***
Karma: 0
Posts: 211
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

just wait, in no time you will be accidentally ending sentences with semicolons.  ;D
Logged

Holland
Offline Offline
Sr. Member
****
Karma: 0
Posts: 439
Arduino likes cookies too
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What?
I'm fairly sure you need to end each line with a dot, and each sentence with a semicolon!
Your message does not compute! Syntax error on line 1 near 'just wait', a parameter has been omitted [wait(long time)]!
Logged

UK
Offline Offline
God Member
*****
Karma: 10
Posts: 903
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Every programmer I know has been caught by that one - usually more than once.

If you added up the cost in programmer time of C and Java allowing you to put assignments in conditions I bet it would come to many many millions of dollars.
Logged

--
My New Arduino Book: http://www.arduinobook.com

Pages: [1]   Go Up
Jump to: