Few collected questions about the Arduino

  1. 9V goes to Vin, not to 5V. The spec says 7V (6V absolute minimum) for Vin so it will not work when the battery goes down to 5V.
  2. No idea, do you have an example of an I2C device where this happens.
  3. The 32 pin package has two additional analogue inputs (that can't be used for digital IO). I think it also has an additional Vcc and/or GND; check the datasheet to see the exact difference.
  4. Only what is needed; the full library will be compiled but the linker will throw away what is not needed.
  5. No, variable names don't exist in the final executable.
  6. Not sure for the earlier 328P the die is the same.
  7. Libraries usually consist of one or more .h files and one or more .cpp files. The .h file that you include tells the compiler which functions and variables are there, the .cpp file contains the implementation of the functions. You only include the .h file.

===
Your topic has been moved to a more suitable location on the forum. Introductory Tutorials is for tutorials that e.g. you write, not for questions :wink:

2 Likes