Arduino C Data Types
Arduino C supports most of ANSI C’s data types with a few notable exceptions. Also, there’s a little hanky-panky going on with floating point numbers, but it shouldn’t be a problem as long as you are aware of what’s going on “under the hood.”
As mentioned in Chapter 2, a variable is little more than a chunk of memory that has been given a name. When you define a variable, you must also tell the compiler what type of data is to be associated with that variable. The data type of the variable is important because it determines how many bytes of memory are dedicated to that variable, and what kind of data can be stored ...