O'Reilly logo

Beginning Android ADK with Arduino by Mario Böhmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  3

Outputs

An ADK board derived from the original Arduino design has several pins and connectors. The majority of those pins are digital pins. The digital pins on such an ADK board are capable of being configured as inputs or outputs. This chapter describes how the digital pins can be used when configured as output pins.

What does output mean in this particular case? It means that a pin will emit power when set to output mode. The digital pins on an Arduino-derived ADK board can emit up to 5V. They can be used in a digital context where they can take two states, HIGH and LOW. To set an output pin to HIGH means that it will emit 5V. If it is set to LOW it emits 0V, so no voltage at all. Some output pins can also be used in an analog ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required