Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: convert port to binary number

2004-09-28 by Dave Mucha

--- In AVR-Chat@yahoogroups.com, "Stuart Whelan" <stuart.whelan@p...> 
wrote:
> I am guessing that by a binary number you mean an output in binary
> format, like '01010101'?

That's what I thought too.

PIN    STATE     state

 1      1          0
 2      0          0
 3      0          0
 4      0          0
 5      0          0
 6      0          0
 7      0          0
 8      0          1

       255        1

So just changing pin state would alter the output.

Dave

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.