Skip to main content

Input and Output

  • Chapter
  • First Online:
  • 2540 Accesses

Abstract

As pretty as the Larson (Memorial) Scanner is, it’s also a good demonstration of the Raspberry Pi’s GPIO controls using WiringPi. In this chapter, we’ll modify the circuit (slightly) and the program (a bit more) so that we can read data in as well. We’ll do it two ways, since it’s not a very big topic by itself: polled and interrupt driven. Once again, WiringPi makes this easy.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 James R. Strickland

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Strickland, J.R. (2018). Input and Output. In: Raspberry Pi for Arduino Users. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3414-3_6

Download citation

Publish with us

Policies and ethics