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

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

Re: [avr-gcc-list] Simple Problem


From: John Butera
Subject: Re: [avr-gcc-list] Simple Problem
Date: Wed, 24 Sep 2003 02:25:33 -0500

sorry.. i didnt see that.. using PINB didnt work?

On Wednesday, September 24, 2003, at 12:37 AM, Kris wrote:

I've tried several different settings
for DDRB, reading from different macros, and even reading from PINB. Nothing
seems to work.

On Wednesday, September 24, 2003, at 01:06 AM, John Butera wrote:

you probably want to be reading PINB, the input pins, rather than the output latch, PORTB

On Wednesday, September 24, 2003, at 12:37 AM, Kris wrote:
  if(bit_is_set(PORTB,0)){//if pb0 is on


_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list




reply via email to

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