Home
Introduction
Concept 1
Concept 2
Concept 3
Concept 4
Links
                                                 C FOR MICROCONTROLLERS
 
The C for microcontrollers site is dedicated to teach Embedded C to aspiring students wanting to master theC language for programming micro controllers.
 
The  Keil compiler has been used to demonstrate all the examples in this embedded C Tutorial on a 8051 / 8052. Every concept is practically demostrated and one can expect to start real life C programming ofmicrocontrollers after the course. 
 
A new concept of paying only for something you tried and liked has been employed.
Pay only if you find it useful!
 
Check out the first few concepts. Like the flow? Pay for it and request for the next lot free!
Below is the contents page. See if you like it!
 
Only $5 /- per module, 8 modules, 43 concepts, 130 pages!
Payment through paypal to praveensss@netscape.net
 
 
 
 
Contact
Introduction ------------------------------------------------------------- 
Concept  1 - Microcontrollers ------------------------------------- 
Concept  2 - Languages -------------------------------------------
Concept  3 - Microcontroller Hardware ------------------------  
Concept  4 - ROM and RAM --------------------------------------
 
Concept  5 - CPU / pc /reset --------------------------------------  
Concept  6 - Function names -------------------------------------  
Concept  7 - The “main” function ---------------------------------
Concept  8 - Variable Types --------------------------------------
Concept  9 - Variable Names / Assignment ------------------
Concept  10 - Operators, Comments ---------------------------
 
Concept  11 - Let's do it in Style! --------------------------------  
Concept  12 - More Functions ------------------------------------
Concept  13 - And More Functions! ----------------------------  
Concept  14 - Include files ------------------------------------------
Concept  15 - Local Variables ------------------------------------
 
Concept  16 - Auto and Static Variables ----------------------  
Concept  17 - Global variables -----------------------------------
Concept  18 - Extern variables -----------------------------------
Concept  19 - Constant variables ------------------------------- 
Concept  20 - #define constants ---------------------------------
 
Concept  21 - Enumerations --------------------------------------
Concept  22 - Volatile variables --------------------------------- 
Concept  23 - Macros -----------------------------------------------
Concept  24 - Integer Storage ------------------------------------
Concept  25 - Float Storage  --------------------------------------
 
Concept  26 - Operators / Precedence ------------------------
Concept  27 - Integral Promotions -------------------------------
Concept  28 - Type Conversion by Assignment -------------
Concept  29 - Usual Arithmetic Conversions -----------------
Concept  30 - Explicit Type Conversion ----------------------- 
 
Concept  31 - Pointers cracked! ---------------------------------  
Concept  32 - Arrays ------------------------------------------------- 
Concept  33 - Sizeof operator -------------------------------------
Concept  34 - Structures --------------------------------------------
Concept  35 - Preprocessor commands -----------------------
 
Concept  36 - Header files -----------------------------------------  
Concept  37 - The last arithmetic operator, % ----------------  
Concept  38 - Comparison operators --------------------------
Concept  39 - Bit operators ----------------------------------------
Concept  40 - Logic operators ------------------------------------
Concept  41 - If Statements ----------------------------------------
Concept  42 - goto statements ------------------------------------
Concept  43 - The switch --------------------------------------------
 
Ask for any one extra concept  free! 
Try your hand at these questions:
 

1.       What does this course teach you?

2.      What are microcontrollers?

3.       What language do microcontrollers understand?

4.      What are the languages humans use to talk with a microcontroller?

5.       What are the essential pins on a microcontroller?

6.       What are ROM and RAM?

7.       Why do we require ROM and RAM?

8.       What is a CPU?

9.       What is the function of a Program Counter?

10.   What does the Reset pin on a microcontroller do?

11.   How does storage take place in a Microcontroller?

12.   What are C statements, functions, key words, variables etc?

13.   Why is a “main” function required in C?

14.   What are all the variable types used in C?

15.   What are the rules to be followed to name variables?

16.   What are the C operators?

17.   What conventions are followed for C comments?

18.   What are the rules to be followed to make C readable to all?

19.   How is a function invoked?

20.   What are input parameters to a function?

21.   How do you include files in a project?

22.   When would you use Auto variables?

23.  What are static variables?

24.   And what are Global variables?

25.   When would you prefix a variable with extern?

26.  Why do you require constant variables?

27.   What are preprocessor commands?

28.   How can you efficiently use #define constants?

29.   What use are enumeration variables?

30.   When would you declare a variable volatile?

31.  What is the difference between a Macro and a Function?

32.   How are integers stored?

33.   How are Floats represented?

34.  What is operator precedence?

35.   What do integral promotions do?

36.   How do convert a long to a float?

37.  What happens when you mix variables, say float and long?

38.   What are pointers and why are they essential to microcontrollers?

39.  Why do you require arrays?

40.   How do you find the size of a variable?

41.   What are header files?

42.  How do you find the remainder of a number division?

43.   What is the syntax for comparing variables?

44.   How do set, clear, invert or find the status of a bit in a byte?

45.   What are logic operators?

46.   When would you use if statements?

47.   Can we use goto statements?

48.   When would you use switch statements?

49.  When is a structure used?

50.    Is understanding c for micros essential in your job?

 

If the answer to the last question is Yes, Go ahead you will enjoy c4micros!

Try out these tests and see if you are prepared:

http://www.embedded.com/2000/0005/0005feat2.htm

http://www.netrino.com/Embedded-Systems/Embedded-C-Quiz

 

 

03 
02
04
05
06
07
15
09
10
12
13
17
 
18
21
 
23
25
 
31
35
48
40
43
46
52
49
55
51
63
58
66
66
 
61
56
90
81
77
82
68
102
108
110
126
128
98
93
100
Assembly
Reference
Reading C
Declarations