Preprocessor directives

Preprocessor directives determine what the compiler shall ultimately process. To do this, they replace character strings and include or exclude lines of code. They also influence the behavior of the compiler.

Read More

Formatted output

Generating formatted output with sprintf(), snprintf() and dtostrf() is convenient and simple. I will explain the various options as well as the pitfalls.

Read More

I2C scanner

An I2C scanner sketch is introduced. This allows to determine I2C addresses or to check non-functioning circuits with I2C component.

Read More