Example io demo

From wiki.emacinc.com
Revision as of 14:08, 14 November 2013 by Jgreene (talk | contribs)
Jump to: navigation, search
TODO: {{#todo:InProgress(11.14.13-14:07->JG+)|Jgreene|oe 4,oe 5,ky,md,InProgress}}

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.

1. Open the C/C++ editing perspective

2. Open the egpc 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.