Pages: 1 [2]   Go Down
Author Topic: coding problem please help !!  (Read 1229 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 38
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's in the first post
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
digitalWrite( ledPin, LOW);
    digitalWrite(state1, LOW);//Here is the problem <<<<<<<<<<<< i dont know wich command to use

I'm struggling coming to terms with you writing this sketch and having difficulty with the above two lines.......
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 38
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I's not that hard and i've copied the reading part but I don't Know why it doesn't turn the LED OFF !!!
Logged

New Jersey
Offline Offline
Faraday Member
**
Karma: 65
Posts: 3638
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ask yourself this: "What is the purpose of the button?"
Logged

Pages: 1 [2]   Go Up
Jump to: