[Top][All Lists]

[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 01:06:34 -0500

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

reply via email to

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