Pages: [1]   Go Down
Author Topic: Problem with DigitalReadSerial  (Read 5222 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why won't it work?
Please refer to File > Examples > 01.Basics > DigitalReadSerial
I wired up my bread board exactly as specified, and down loaded the program.
The serial monitor window is set for 9600, but shows no response.
I know my board is wired correctly because the "Examples, Digital, Button" program uses the same board wiring, and it works perfectly.
Please help.
Thanks!
Logged

Dallas
Offline Offline
Newbie
*
Karma: 1
Posts: 40
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had the same issue. I went so far as to simply short pin 2 to 5V, and still couldn't get the serial read to read high. All I get across the serial read is zeros. I'd live if someone could help answer this question. Since I'm just getting started, and have all kinds if ideas if things is live to do with Arduino I feel really discouraged that I can't even get this thing to work with a single simple input when I didn't even write the program code.
Logged

Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 361
Posts: 17255
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds like you two are describing two different symptoms/problems. One is only serial printing zeros the first saying "not response". The first points to a wiring problem or a broken input pin, the second a serial comm problem. Of course the sketch compiles with no errors so the program is not to blame.



Lefty
Logged

Dallas
Offline Offline
Newbie
*
Karma: 1
Posts: 40
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds like you two are describing two different symptoms/problems. One is only serial printing zeros the first saying "not response". The first points to a wiring problem or a broken input pin, the second a serial comm problem. Of course the sketch compiles with no errors so the program is not to blame.



Lefty
I checked all the other Com ports. They were not reading anything. Only Com 6 had any data on it.
Logged

Pages: [1]   Go Up
Jump to: