Two-terminal elements and conventions: resistor, sources, capacitor and inductor
Voltage, current and two-terminal elements, passive and active sign conventions, power, Ohm's law, ideal sources, capacitor and inductor, real components.
Library
579 articles
Voltage, current and two-terminal elements, passive and active sign conventions, power, Ohm's law, ideal sources, capacitor and inductor, real components.
Peripheral registers, masks and bit operations, access with volatile, interrupts and service routines, non-blocking timing, the rules of robust firmware.
Bubble and insertion sort, merge sort with code and cost analysis, quicksort and qsort, the n log n theoretical limit, counting sort…
Structs and typedef, the arrow operator, linked lists with insertion and traversal, comparison with arrays, stacks, queues, trees and hash tables.
Addresses, pointers and dereferencing, pass by reference, pointer arithmetic and arrays, malloc and free, classic mistakes, memory on microcontrollers, function pointers.
Arrays and indices, buffer overflows, arrays as parameters, matrices and the cache, null-terminated strings and string.h functions, moving average with a circular…
Definitions and prototypes, pass by value, local, global and static variables, the call stack, recursion with factorial and Fibonacci, unit tests.
Selection with if and switch, state machines, while, do-while and for loops, nested loops, break and continue, the microcontroller's endless loop and…
Structure of a C program and compilation, types and variables, arithmetic, logical and comparison operators, conversions, printf and scanf with a resistor…
Properties of an algorithm, flowcharts and pseudocode with Euclid's algorithm, the Böhm-Jacopini theorem, big-O notation and binary search.