Go Down

Topic: randomly (not) working serial.read (Read 478 times) previous topic - next topic

marco208

Hi,

I have made an simple visual basic program wich should turn my amplifier on and off.. but also return wether its on or off when i send "3"...

if i send 1 the amp goes on & set pinstat = 1
if i send 2 the amp turns off & set pinstat = 0
if i send 3 arduino does a serial.write(pinstat);

sometimes it just does not return anything on 3...

Any idea's? i have no access to the code right now...


Greetings,
Marco Stuurman

PaulS

Quote
i have no access to the code right now...

We can wait until you do. No hurry.

robtillaart

Quote
sometimes it just does not return anything on 3... ideas?

Arduino off?
Maybe you should have a second arduino to check if the first Arduino is on? ;)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

marco208

Yes it is on, and i found out, i was asking the value the fast after eachother

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy