This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:programming:c:crashcourse [2012/07/17 22:06] – raivo.sell | en:programming:c:crashcourse [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 140: | Line 140: | ||
| </ | </ | ||
| - | ~~PB~~ | + | < |
| ===== Operations ===== | ===== Operations ===== | ||
| Line 233: | Line 233: | ||
| Bit operations are essential when using the registers of microcontroller. These are described in AVR register chapter. | Bit operations are essential when using the registers of microcontroller. These are described in AVR register chapter. | ||
| - | ~~PB~~ | + | < |
| ===== Functions ===== | ===== Functions ===== | ||
| Line 272: | Line 272: | ||
| The execution of a C-language program is started from //main// function which makes it compulsory function. | The execution of a C-language program is started from //main// function which makes it compulsory function. | ||
| - | ~~PB~~ | + | < |
| ===== Statements ===== | ===== Statements ===== | ||
| Line 317: | Line 317: | ||
| </ | </ | ||
| - | ~~PB~~ | + | < |
| ==== Switch statement ==== | ==== Switch statement ==== | ||
| Line 369: | Line 369: | ||
| </ | </ | ||
| - | ~~PB~~ | + | < |
| ==== for loop ==== | ==== for loop ==== | ||
| Line 471: | Line 471: | ||
| Standard functions library (stdlib.h) includes functions to simplify different common operations and conversions. | Standard functions library (stdlib.h) includes functions to simplify different common operations and conversions. | ||
| - | ==== random | + | ==== Random |
| Generating a random number is not so simple for AVR microcontroller. | Generating a random number is not so simple for AVR microcontroller. | ||
| Line 496: | Line 496: | ||
| [[http:// | [[http:// | ||
| - | ~~DISCUSSION~~ | ||