You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,103 +30,102 @@ providing a DIY challenge at an advanced level.
31
30
32
31
## Summary of the Examples
33
32
34
-
Example  The LED program.\
33
+
Example [chapter02_02](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter02_02) The LED program.\
35
34
This example implements the LED program (blinky) for the target with the 8-bit microcontroller.
36
35
37
-
Example  The LED program with timing.\
36
+
Example [chapter02_03](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter02_03) The LED program with timing.\
38
37
This example implements the LED program (with timing) for the target with the 8-bit microcontroller.
39
38
40
-
Example  The LED program with cooperative multitasking scheduler.\
39
+
Example [chapter02_03a](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter02_03a) The LED program with cooperative multitasking scheduler.\
41
40
This example implements the LED program with a tiny cooperative multitasking scheduler for the target with the 8-bit microcontroller.
42
41
43
-
Example  The Led Program (with template LED class).\
42
+
Example [chapter02_06](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter02_06) The Led Program (with template LED class).\
44
43
This example implements the LED program with a template LED class for the target with the 8-bit microcontroller.
45
44
46
-
Example  Integer Types Having Fixed Widths and Prime Numbers.\
45
+
Example [chapter03_02](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter03_02) Integer Types Having Fixed Widths and Prime Numbers.\
47
46
This example focuses on integer types having fixed widths using a fascinating calculation
48
47
of prime numbers that is simultaneously intended to emphasize the usefulness and portability
49
48
of fixed-width integer types.
50
49
51
-
Example  LED Objects and Polymorphism.\
50
+
Example [chapter04_04](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter04_04) LED Objects and Polymorphism.\
52
51
This example exhibits object oriented polymorphism through
53
52
an intuitive LED class hierarchy. Base class pointers stored in an
54
53
`std::array` are used in combination with dynamic polymorphism.
55
54
56
-
Example  LED Objects and Polymorphism via References.\
55
+
Example [chapter04_04a](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter04_04a) LED Objects and Polymorphism via References.\
57
56
This example exhibits object oriented polymorphism in essentially the same
58
57
way as in example chapter04_04. In example chapter04_04a, however, we use base class
59
58
references instead of base class pointers stored in an `std::array`
60
59
in order to utilize object oriented polymorphism.
61
60
62
-
Example  A CRC Benchmark.\
61
+
Example [chapter06_01](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter06_01) A CRC Benchmark.\
63
62
This example illustrates certain optimization techniques through the calculation
64
63
of a standard CRC32 checksum (cycle redundancy check).
65
64
66
-
Example  A CRC Benchmark with ROM-Based Table and Data.\
65
+
Example [chapter06_14](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter06_14) A CRC Benchmark with ROM-Based Table and Data.\
67
66
This example features essentially the same functionality as example chapter06_01.
68
67
The checksum table and benchmark data, however, are ROM-able.
69
68
70
-
Example  Controlling a Seven Segment Display.\
69
+
Example [chapter09_07](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter09_07) Controlling a Seven Segment Display.\
71
70
This example makes use of object oriented programming methods to control a seven segment display.
72
71
73
-
Example  Controlling an RGB LED.\
72
+
Example [chapter09_08](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter09_08) Controlling an RGB LED.\
74
73
This example utilizes object oriented programming techniques to control an RGB LED.
75
74
76
-
Example  Controlling an RGB LED of Type WS2812.\
75
+
Example [chapter09_08a](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter09_08a) Controlling an RGB LED of Type WS2812.\
77
76
This example controls an RGB LED using programming techniques similar to those used in the previous example.
78
77
There are, however, several differences such as the refactored, modernized LED-class hierarchy.
79
78
The main difference, however, is that a _digitally_-controlled industry-standard
80
79
RGB LED of type WS2812 is used. In addition, the color transitions at and around $255~\text{bits}$-RGB
81
80
are slowed down providing emphasized, longer-lasting RGB hues near these points.
82
81
83
-
Example  Controlling an RGB LED of Type WS2812 (variation 32-bit microcontroller).\
82
+
Example [chapter09_08b](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter09_08b) Controlling an RGB LED of Type WS2812 (variation 32-bit microcontroller).\
84
83
Example chapter09_08b utilizes essentially the same techniques to control its ws2812 RGB LED
85
84
as were used in Example Chapter09_08a. In variation 09_08b, however,
86
85
the open-platform [STM32F100 Value Line Discovery Kit](https://www.st.com/en/evaluation-tools/stm32vldiscovery.html)
87
86
is used.
88
87
89
-
90
-
Example  External SPI RAM and Computing $10,001$ Digits of Pi.\
88
+
Example [chapter10_08](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter10_08) External SPI RAM and Computing $10,001$ Digits of Pi.\
91
89
This advanced example extends available RAM via SPI SRAM chips and uses a Pi Spigot algorithm
92
90
to compute $10,001$ digits of the mathematical constant $\pi$
93
91
showing fascinating memory management iterators, containers and algorithms along the way.
94
92
This example depicts algorithmic complexity running in a real-world system
95
93
and highlights the real-time numeric expression of the detailed description
96
94
of algorithmic complexity in the corresponding book section.
97
95
98
-
Example  Parallel SRAM and Computing $100,001$ Digits of Pi.\
96
+
Example [chapter10_08a](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter10_08a) Parallel SRAM and Computing $100,001$ Digits of Pi.\
99
97
This advanced example extends RAM even further with a $2~\text{MByte}$ parallel SRAM brick. This extended memory
100
98
is used for storage in Pi Spigot calculations
101
99
of the mathematical constant $\pi$ up to $100,001$ decimal digits.
102
100
103
-
Example  $100,001$ Digits of Pi on Raspberry Pi(R).\
101
+
Example [chapter10_09](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter10_09) $100,001$ Digits of Pi on Raspberry Pi(R).\
104
102
This advanced example ports the Pi Spigot calculation
105
103
of $100,001$ decimal digits of $\pi$
106
104
to the powerful ARM(R)-based Raspberry Pi(R) single-board computer.
107
105
108
-
Example  Preemptive Multitasking.\
106
+
Example [chapter11_07](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter11_07) Preemptive Multitasking.\
109
107
This example makes straightforward use of preemptive multitasking scheduling with a blinky-style application that features a main task and a low-priority background task.
110
108
111
-
Example  Preemptive Multitasking and an Advanced, Memory-Intensive Mathematical Calculation.\
109
+
Example [chapter11_07a](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter11_07a) Preemptive Multitasking and an Advanced, Memory-Intensive Mathematical Calculation.\
112
110
In this example, advanced use of preemptive multitasking scheduling is used to combine a blinky-style application with a highly detailed and exciting calculation of the mathematical constant $\pi$ to high precision in the background task.
113
111
114
-
Example  Benchmarking Floating-Point Calculations.\
112
+
Example [chapter12_04](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter12_04) Benchmarking Floating-Point Calculations.\
115
113
This example performs a variety of floating-point calculations of selected special functions of pure and applied mathematics.
116
114
117
-
Example  Benchmarking Floating-Point Calculations (variation 32-bit microcontroller).\
115
+
Example [chapter12_04a](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter12_04a) Benchmarking Floating-Point Calculations (variation 32-bit microcontroller).\
118
116
The same special functions and arguments are used as in Example Chapter12_04. In variation 12_04a, however,
119
117
the open-platform [STM32F100 Value Line Discovery Kit](https://www.st.com/en/evaluation-tools/stm32vldiscovery.html)
120
118
is used directly out-of-the-box.
121
119
122
-
Example  Generating and displaying 128-bit Random Prime Numbers.\
120
+
Example [chapter16_08](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter16_08) Generating and displaying 128-bit Random Prime Numbers.\
123
121
This advanced example uses an extended integer class to create 128-bit unsigned prime integers with primality testing performed via Miller-Rabin.
124
122
This example also provides fascinating, intuitive, visual insight into the prime number theory of pure mathematics.
125
123
126
-
Example  Traditional C Language Code in a Modern C++ Project.\
124
+
Example [chapter17_03](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter17_03) Traditional C Language Code in a Modern C++ Project.\
127
125
This example depicts some methods that potentially allow the successful use
128
126
of traditional C-language code within a modern C++ project.
129
127
130
-
Example  Traditional C-Language in Modern C++, Using Time Slices.\
128
+
Example [chapter17_03a](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter17_03a) Traditional C-Language in Modern C++, Using Time Slices.\
131
129
This example is almost identical with example chapter17_03. In fact, it performs
132
130
the same CRC calculations and uses essentially the same code technical methods
133
131
for accessing traditional C-language code within a modern C++ project.
@@ -148,7 +146,7 @@ in each individual example directory.
148
146
149
147
Use this [short link](https://godbolt.org/z/fxWzb6h6f)
150
148
to [godbolt](https://godbolt.org) in order to further explore
151
-
Example 
149
+
Example [chapter02_02](https://github.com/ckormanyos/real-time-cpp/tree/master/examples/chapter02_02)
152
150
(the LED program). In the link, the main source file of the example
153
151
is compiled with a modern `avr-gcc` compiler and the compiler-generated
0 commit comments