Difference between revisions of "Example io demo"

From wiki.emacinc.com
Jump to: navigation, search
Line 43: Line 43:
 
Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.
 
Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.
  
[[File:Io demo led action sample 0.png]]
+
[[File:Io demo led action sample 0.png | 500px]]
  
 
The board counts from 0 to 15 in binary, reflecting the steps of this operation in the LEDs. When it's finished LD1 and LD6 are lit.
 
The board counts from 0 to 15 in binary, reflecting the steps of this operation in the LEDs. When it's finished LD1 and LD6 are lit.
Line 51: Line 51:
 
Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.
 
Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.
  
[[File:Io demo led action sample 1.png]]
+
[[File:Io demo led action sample 1.png | 500px]]
  
 
The board lights all 8 LEDs.
 
The board lights all 8 LEDs.
Line 59: Line 59:
 
Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.
 
Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.
  
[[File:Io demo led action sample 2.png]]
+
[[File:Io demo led action sample 2.png | 500px]]
  
 
The board lights the LEDs in numeric sequence, 1-8, then repeats; looping until a key is pressed.
 
The board lights the LEDs in numeric sequence, 1-8, then repeats; looping until a key is pressed.

Revision as of 15:27, 19 November 2013

TODO: {{#todo:InProgress(11.14.13-14:07->JG+)|Jgreene|oe 4,oe 5,jg,md,Review}}

This procedure provides an overview of how to open, build and run the io_demo C example project using the Eclipse IDE.

Opening, Building and Uploading the Project Files

1. Open the C/C++ editing perspective.

stub

2. Open the io demo project files.

stub

3. Build the io demo project.

stub

4. Upload the io demo binary to the target machine.

stub

Description, Usage and Expected Behaviour

This is a demo program illustrating how to access different SOM-150ES carrier board io. To use this program you will need a SOM-150ES carrier board.

500px
SOM-150ES carrier board

Usage for io_demo

io_demo

Running the program brings up a menu of demos.
i2c menu
Press a,c,i or r to run a demo. Press x to exit.

A/D Demo

File:Io demo terminal session sample 0.png

Count Demo

Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.

500px

The board counts from 0 to 15 in binary, reflecting the steps of this operation in the LEDs. When it's finished LD1 and LD6 are lit.

Input to Output Demo

Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.

500px

The board lights all 8 LEDs.

Ring Demo

Refer to the SOM-150ES carrier board surface mount LEDs LD1-LD8 for output.

500px

The board lights the LEDs in numeric sequence, 1-8, then repeats; looping until a key is pressed.