mirror of
https://wiki.pbeirne.com/patb/cmt.git
synced 2026-12-03 12:05:20 -05:00
Add link in the README, add photo of the button/light board.
This commit is contained in:
@@ -67,6 +67,9 @@ of small microcontrollers, including
|
|||||||
techniques (Puolop PB150, Padauk PxS15x, Bojuxing BJ8P,
|
techniques (Puolop PB150, Padauk PxS15x, Bojuxing BJ8P,
|
||||||
Yspring MDT1x, EastSoft HR7P, Holtek Ht68.)*
|
Yspring MDT1x, EastSoft HR7P, Holtek Ht68.)*
|
||||||
|
|
||||||
|
 is a typical board hosting 12 buttons, 12 RGB LEDs, all hosted
|
||||||
|
by an STM32. Every light and button can be controlled separately
|
||||||
|
and simultaneously, using the technique described in this paper.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
## The Problem
|
## The Problem
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
This is a web-based article describing *cooperative multitasking*, also known as
|
This is a [web-based article](CooperativeMultitasking.md)
|
||||||
|
describing *cooperative multitasking*, also known as
|
||||||
*event driven programming*. The method described here is small enough to fit on
|
*event driven programming*. The method described here is small enough to fit on
|
||||||
many sub-$1 microcontrollers, those without memory management units. Examples are
|
many sub-$1 microcontrollers, those without memory management units. Examples are
|
||||||
the STM32, STM8, PY32, AtMega, AtTiny, 8051 and Pic microcontrollers.
|
the STM32, STM8, PY32, AtMega, AtTiny, 8051 and Pic microcontrollers.
|
||||||
@@ -6,9 +7,11 @@ the STM32, STM8, PY32, AtMega, AtTiny, 8051 and Pic microcontrollers.
|
|||||||
With this code structure in place, these tiny microcontrollers can be made to
|
With this code structure in place, these tiny microcontrollers can be made to
|
||||||
perform multiple separate tasks, apparantly independent from each other.
|
perform multiple separate tasks, apparantly independent from each other.
|
||||||
|
|
||||||
The reader is walked through the elements of the build, and is then given a fully-implemented
|
The reader is walked through the elements of the build,
|
||||||
|
and is then given a fully-implemented
|
||||||
block of code. The 2nd half of the article builds on the basis, with lots of
|
block of code. The 2nd half of the article builds on the basis, with lots of
|
||||||
examples of state-machines and modifications to allow for cleaner code.
|
examples of state-machines and modifications to allow for cleaner code.
|
||||||
|
|
||||||
The audience for this article is anyone interested in writing code for small micro-controllers.
|
The audience for this article is anyone interested in
|
||||||
|
writing code for small micro-controllers.
|
||||||
A background in any programming language would help (*C, Rust, Python*).
|
A background in any programming language would help (*C, Rust, Python*).
|
||||||
|
|||||||
Reference in New Issue
Block a user