[En-Nut-Discussion] Input? How does that function already again?
Michael Smola
Michael.Smola at gmx.net
Thu Sep 29 23:35:02 CEST 2005
Try PIND instead of PORTD!
-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]On Behalf Of Stoffel Armin
Sent: Thursday, September 29, 2005 23:15
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] Input? How does that function already
again?
I have small Blackout.
I want to read a tracer in and do not manage it not!
Only one bit!
My idea:
outp(inp(DDRD) & ~0x01, DDRD);
if((inp(PORTD) & 0x01) > 0){
}
Where is my error?
--
thanks
Stoffel
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list