Skip to content

Commit 0f2a8c6

Browse files
Fix typos in example chapter02_02
1 parent e9d2851 commit 0f2a8c6

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

examples/chapter02_02/readme.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The steps of the build include the following.
3333
- <code>Assemble : crt0.s to bin/crt0.o</code>
3434
- <code>Compile : led.cpp to bin/led.o</code>
3535
- <code>Link : objects to the absolute object file bin/led.elf</code>
36-
- <code>Extract : executalbe hex file : from bin/led.elf</code>
36+
- <code>Extract : executable hex file : from bin/led.elf</code>
3737
- <code>Extract : assembly list file : from bin/led.elf</code>
3838
- <code>Extract : size information : from bin/led.elf</code>
3939
- <code>Extract : symbol name information : from bin/led.elf</code>
@@ -105,8 +105,8 @@ namespace
105105

106106
Use the commented out loop in the program to slow down
107107
the blinking for easier observation. The commented out
108-
loop is reproduced below within its contect in `main`.
109-
It is the line starting with `for(volatile std::uint8_t delay`...).
108+
loop is reproduced below within its context in `main`.
109+
It is the line starting with `for(volatile std::uint8_t delay...)`.
110110

111111
```cpp
112112
auto main() -> int
@@ -129,8 +129,8 @@ The `Win*` batch file searches for a pre-installed instance
129129
of the avr-g++ tool chain.
130130

131131
When in `Win*`, building the Example chapter02_02 project can
132-
accomplished in a cmd window. Use a command command such as
133-
shown below, where the full path of the pre-installed
132+
accomplished in a cmd window. Use a command such as
133+
shown below, where the full path of the pre-installed
134134
gcc-avr is listed in its entirety.
135135

136136
```DOS
@@ -172,5 +172,6 @@ to [godbolt](https://godbolt.org). Upon close investigation,
172172
the bit-_clear_ and bit-_set_ opcodes (`cbi` and `sbi`)
173173
can be recognized.
174174

175-
These opcodes are responsible for actually toggling the mocrocontroller's
175+
These opcodes are responsible for actually toggling the
176+
microcontroller's
176177
port pin `portb.5`.

0 commit comments

Comments
 (0)