O'Reilly logo

Beginning C for Arduino: Learn C Programming for the Arduino and Compatible Microcontrollers by Jack Purdum

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

CHAPTER 10

images

Structures, Unions, and Data Storage

This chapter takes a little deeper look at some of your options for storing data and in serial input/output (I/O) operations. You will also learn some new data structures that are available to you and how they can be used to your advantage in your programs. More specifically, in this chapter you learn about:

  • The struct keyword
  • The union keyword
  • How to use EEPROM memory in your programs
  • Other data storage options

As you saw in Table 1-1, µc boards have limited amounts of memory available to you. We have talked about flash and SRAM memory in previous chapters, but we haven’t had too much to say ...

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