[En-Nut-Discussion] Input? How does that function already again?

Stoffel Armin armin at townux.ch
Thu Sep 29 23:15:19 CEST 2005


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





More information about the En-Nut-Discussion mailing list