Arduino Coding

Associate
Joined
21 Oct 2009
Posts
1,613
Guys and girls,

Been trying to convert some BASIC coding to Arduino.

How do I access a single bit in a byte?

ie. buttonA = buttons(10)

where buttonA is a boolean and buttons is a word.


I'm sure it's something very basic but not a clue how to do it.

Thanks

Ash
 
Back
Top Bottom