Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:programming:c:crashcourse [2012/06/05 11:23] eero.valjaotsen:programming:c:crashcourse [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Crash course ====== +====== Crash course ====== 
-<note important>Spell check needed</note>+
 ===== Program structure ===== ===== Program structure =====
  
Line 43: Line 43:
  
 /* /*
-  Block comment can be used to include more than one line. + Block comment can be used to include more than one line. 
-  The beginning and the end of a comment is assigned with slash and asterisk signs.+ The beginning and the end of a comment is assigned with slash and asterisk signs.
 */ */
 </code> </code>
  
-~~PB~~ 
  
 ===== Data ===== ===== Data =====
Line 141: Line 140:
 </code> </code>
  
-~~PB~~+<pagebreak>
  
 ===== Operations ===== ===== Operations =====
Line 234: 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~~+<pagebreak>
  
 ===== Functions ===== ===== Functions =====
Line 273: 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~~+<pagebreak>
  
 ===== Statements ===== ===== Statements =====
Line 318: Line 317:
 </code> </code>
  
-~~PB~~+<pagebreak>
  
 ==== Switch statement ==== ==== Switch statement ====
Line 370: Line 369:
 </code> </code>
  
-~~PB~~+<pagebreak>
  
 ==== for loop ==== ==== for loop ====
Line 472: 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 function ====+==== Random function ====
  
 Generating a random number is not so simple for AVR microcontroller. Generating a random number is not so simple for AVR microcontroller.
Line 497: Line 496:
 [[http://www.cplusplus.com/reference/clibrary/|http://www.cplusplus.com/reference/clibrary/]] [[http://www.cplusplus.com/reference/clibrary/|http://www.cplusplus.com/reference/clibrary/]]
  
-~~DISCUSSION~~ 
en/programming/c/crashcourse.1338895419.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0