7 Matching Annotations
  1. Jul 2021
  2. Dec 2020
  3. Sep 2020
    1. The .ino files are all combined together and presented to the compiler as a single .cpp file to compile. The Arduino libraries are compiled from source as well, and everything is linked into a binary.

      This is why there are no includes for builtins like pinMode and digitalWrite.

    1. setup(); for (;;) { loop(); if (serialEventRun) serialEventRun(); }

      The main of Sparkfun's Ardunio code. Note setup is called and then loop is called inside an infinite loop. setup is used for configuring pins, etc and loop is the actual program that is executed.

  4. Apr 2020
    1. Arduino

      This doesn't get a footnote or explanation? https://www.arduino.cc/ - Arduino is an open-source hardware and software company, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices.

  5. Jul 2015
    1. pinMode() which takes two variables, the first the pin number, and second, whether it’s an input or output pin.
    2. Every sketch needs two void type functions, setup() and loop(). A void type function doesn’t return any value. The setup() method

      Confused on the difference between methods and function. Te author refer to methods more often.