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
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