Programming Technique and Multithreading on Microcontroller
Title >> Programming Technique and Multithreading on Microcontroller
Author >> Sulhan Setiawan
Publisher >> Andi, Yogyakarta
ISBN >> 978-979-29-5178-3
Dimension >> 14×21 cm² ⁄ x+278 pages.
Printing >> 2016
Multithreading means doing many jobs atau threads at once. Time division is the key.
In a program which doing many tasks, actually, those tasks aren’t always in active state, but only in wait state instead. In many simple program, waiting process is only used simply for wait. Usually done with a very long loop called delay. If program doing this while there is another unfinished task, then it is really a wasting time. The better techniqu is using sleep methode. When there is a task which in wait state, then this task will give its time to another task that need it.
As a bonus for microcontroller lovers, this book also discussed a PS/2 keyboard, infra red remote controller, creating simple terminal for Linux, and so on. This book also discussed how to programm a microcontroller in effective and efficient way so it will yield in maximal result.
- Program Management
- Main Loop Arrangement
- The use of Interrupt
- Example of Multithread
- More Sophisticated Multithread
- Sistym Efficiency on Multithread
- Delay Versus Sleep
- Multithread with Sleep Capability
- Performance Comparison between Multithread with Sleep Capability versus Multithread without Sleep Capability
- Dynamic Thread
- Interrupt on Multithread
- Interaction with Button
- Two Button with Three Function
- One Button many Function
- One Button many Function and Repeat Capability
- Remote Controller
- Simple Terminal
And many more
Join our microcontroller group on facebook facebook
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.Please notice that comment or question submitted should match the topic.