Difference between revisions of "Example io demo"
(→2. Open the egpc project) |
|||
Line 4: | Line 4: | ||
====1. Open the ''C/C++'' editing perspective==== | ====1. Open the ''C/C++'' editing perspective==== | ||
− | ====2. Open the '' | + | ====2. Open the ''io_demo'' project==== |
====3. Build, upload and run==== | ====3. Build, upload and run==== |
Revision as of 14:08, 14 November 2013
This procedure provides an overview of how to compile and run the io_demo C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK.
Contents
1. Open the C/C++ editing perspective
2. Open the io_demo project
3. Build, upload and run
What it does
This is a demo program illustrating how to access different carrier board I/O.
Usage for io_demo
io_demo
ie: ./io_demo
A menu appears.
i2c menu
hey mike. This program doesn't work. It starts off with "couldn't open /dev/portb, couldn't open /dev/portc" and then gives me "operation not supported by this device" errors for all options. The only thing that works is the exit.