Quickly change some parameters in your code? If you don´t want to edit your .h-file and then recompile, but rather tweak your parameters in real-time, this is how it´s done.
Eventually you will need some kind of a logging tool for your code. There are some basic principles that most logging tools rely on. Read on to learn how they work.
A channel is a thread save queue which can be used for communication between threads.
A fully synchronous buffer can be used for communication between threads.
State machines react to external signals depending on their internal state. Hierarchical State Machines (HSM) are a mighty tool for modeling complex behaviour. Here is a way to implement them.
A memory pool is used to optimize memory usage in your embedded system. It is generally advisable to be in control of your memory. Overwriting operator new is the method. Read how this is done.
An observer is a classical pattern with a beautiful implementation in C++11
- OLDER POSTS
- page 1 of 2