Difference between revisions of "Embedded Systems 101"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Lessons for new Embedded System Users)
(Lessons for new Embedded System Users)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
'''Useful Links'''
 
'''Useful Links'''
*  '''[[Interactive Wireless Nodes Project | Class Project]]'''
+
*  '''[[Interactive Wireless Nodes Project | CmpE 30 Class Project]]'''
  
 
'''Student Project Videos'''
 
'''Student Project Videos'''
Line 25: Line 25:
 
* [[ES101 - Lesson 10 : Board IO]]
 
* [[ES101 - Lesson 10 : Board IO]]
 
* [[ES101 - Lesson 11 : State Machine and Board IO]]
 
* [[ES101 - Lesson 11 : State Machine and Board IO]]
 +
 +
== Debugging Your Code==
 +
* Check your syntax:
 +
** Are you missing a semicolon?
 +
** Do you have a semicolon where its not needed? (at the end of an if statement: if(..);)
 +
* Variables:
 +
** Have you defined the variable
 +
** Have you defined the same variable twice?
 +
** Have you spelled your variables wrong?
 +
* Include Files: Have you included all the necessary files using #include <..>
 +
* printf:
 +
** Does the number of format specifiers (%f, %c, etc.,.) match the number of variables?
 +
* Are you using an assignment operator ( = ) in the place of a comparison operator (== )
 +
  
 
== Board Interfaces ==
 
== Board Interfaces ==

Latest revision as of 22:33, 21 November 2014

Lessons for new Embedded System Users

Please note that some these lessons are based on SJ One Board. This article is suited for:

  • New Programmers without any programming background
  • Experienced Programmers who want to learn Embedded Programming on SJ One Board.

Useful Links

Student Project Videos



Here are the lesson plans:

Debugging Your Code

  • Check your syntax:
    • Are you missing a semicolon?
    • Do you have a semicolon where its not needed? (at the end of an if statement: if(..);)
  • Variables:
    • Have you defined the variable
    • Have you defined the same variable twice?
    • Have you spelled your variables wrong?
  • Include Files: Have you included all the necessary files using #include <..>
  • printf:
    • Does the number of format specifiers (%f, %c, etc.,.) match the number of variables?
  • Are you using an assignment operator ( = ) in the place of a comparison operator (== )


Board Interfaces

Please reference the following link to find out how to connect your board to different external devices :
Sensor Interfaces