Arduino source code. What does the function analogRead() in C ?

The "housekeeping nonsense" is all the junk you need in a "regular" C/C++ program such as a function called main(), the need to declare function prototypes, lots of #includes, .h files etc etc etc etc.

No doubt it was all designed to ensure that the faint-hearted drop out so there is a limited supply of C programmers on the market in order to keep salaries up. :slight_smile:

...R

1 Like