File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Example chapter02_02
2+
23## The LED program
34
45<p align =" center " >
5- <a href="https://godbolt.org/z/fxWzb6h6f" alt="godbolt">
6- <img src="https://img.shields.io/badge/try%20it%20on-godbolt-green" /></a>
6+ <a href="https://godbolt.org/z/fxWzb6h6f">
7+ <img src="https://img.shields.io/badge/try%20it%20on-godbolt-green" alt="godbolt" />
8+ </a>
79</p >
810
911This example implements the LED program (blinky) for the
@@ -47,7 +49,8 @@ frequency will be as fast as the microcontroller can execute
4749the given toggle code, which will be too fast to resolve.
4850
4951The core of the LED program is listed below.
50- - Note: The program listing here has been slightly _ modernized_ compared to the program listing in the book.
52+
53+ - Note: The program listing here has been slightly _ modernized_ compared to the program listing in the book.
5154
5255``` cpp
5356#include < cstdint>
@@ -125,8 +128,9 @@ auto main() -> int
125128```
126129
127130## In ` Win* `
131+
128132The ` Win* ` batch file searches for a pre-installed instance
129- of the avr-g++ tool chain.
133+ of the avr-g++ tool chain.
130134
131135When in ` Win* ` , building the Example chapter02_02 project can
132136accomplished in a cmd window. Use a command such as
You can’t perform that action at this time.
0 commit comments