avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Checking individual Pin in PORTD!!!


From: Larry Barello
Subject: RE: [avr-gcc-list] Checking individual Pin in PORTD!!!
Date: Wed, 31 Dec 2003 16:56:05 -0800

How about

if (PORTD & (1<<PDx)) ...

-----Original Message-----
From:  Steven Chang-Lin Yu

I forgot how to do checking individual PIN in PORT, I know in asm I can
use “sbis    PIND,0x00”, however how to do this in c in WINAVR???





reply via email to

[Prev in Thread] Current Thread [Next in Thread]