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

Get Beginning Android ADK with Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.