Skip to Main Content
Beginning Android ADK with Arduino
book

Beginning Android ADK with Arduino

by Mario Böhmer
March 2012
Beginner content levelBeginner
314 pages
7h 26m
English
Apress
Content preview from Beginning Android ADK with Arduino

C H A P T E R  4

Inputs

In the context of the ADK board, inputs are pins and connectors on the board with which you can receive data or measurements. Although the common USB-type connectors are technically also inputs, this chapter will only concentrate on the inputs with which you can take measurements or detect digital state changes. The inputs in that sense are the pins of the ADK board.

The majority of the pins on an ADK board are capable of being used as input pins. You remember that digital pins can be configured to work as outputs and inputs. Digital pins are configured as input pins by default. You can set them into input mode by using the pinMode method, but you don’t necessarily need to.

Additionally, an ADK board has dedicated analog ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional Android Open Accessory Programming with Arduino

Professional Android Open Accessory Programming with Arduino

Andreas Goransson, David Cuartielles Ruiz

Publisher Resources

ISBN: 9781430241973Purchase book