EasyManua.ls Logo

Arduino Pro Mini

Arduino Pro Mini
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Shifting operations might seem intuitive, but you have to be careful when
shifting signed values.
2
Although they look similar, binary operators arent
the same as Boolean operators. Boolean operators such as && and || dont
operate on the bit level. They implement the rules of Boolean algebra.
3
Beginners are often afraid of bit operations, but theres no reason to fear
them. Microcontrollers operate on a bit level, so you have to be able to make
the bits obey your will. It takes some training, but its not rocket science.
2.
http://en.wikipedia.org/wiki/Arithmetic_shift
3.
http://en.wikipedia.org/wiki/Boolean_algebra_%28logic%29
Appendix 2. Advanced Arduino Programming 252
report erratum discuss
www.it-ebooks.info

Table of Contents

Related product manuals