Difference between revisions of "Example i2c test"
m (Assigned BS to this page.) |
m (Added Note) |
||
Line 1: | Line 1: | ||
{{todo|InProgress(11.14.13-13:25->JG+);(11.14.13-15:45->MD-)|Jgreene|project=oe 4,oe 5,jg,md,InProgress,bs}} | {{todo|InProgress(11.14.13-13:25->JG+);(11.14.13-15:45->MD-)|Jgreene|project=oe 4,oe 5,jg,md,InProgress,bs}} | ||
'''Again, don't forget to change the tag. Create a real intro and reformat the following text into the normal font.''' | '''Again, don't forget to change the tag. Create a real intro and reformat the following text into the normal font.''' | ||
+ | '''This is going to need quite a bit of work still.''' | ||
<big>This procedure provides an overview of how to compile and run the ''i2c_test'' 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.</big> | <big>This procedure provides an overview of how to compile and run the ''i2c_test'' 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.</big> |
Revision as of 15:21, 6 January 2014
Again, don't forget to change the tag. Create a real intro and reformat the following text into the normal font. This is going to need quite a bit of work still.
This procedure provides an overview of how to compile and run the i2c_test 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.
Again, this is a misuse of headings.
Contents
1. Open the C/C++ editing perspective
2. Open the egpc project
Insert build instructions here
As before, not a heading...
What it does
This is far to sparse. The reader will not benefit at all from this. They could discover this on their own. There needs to be information on how and why to use each option of these menus. Mike Welling is the expert on this. Jake Pollex can be asked first, though, to keep Mike Welling from having to spend too much of his valuable time helping you (he's always pulled in many directions at once).
This is an example test interface for reading/writing to the Linux I2C device interface. It is only relevant if the I2C device interface is enabled and an external I2C device is connected to the bus. See comments in i2c_test.c for details.
Usage for i2c_test
i2c_test - Run it with the following command.
ie: ./i2c_test
A menu will appear in the terminal.
i2c menu
Select a function (a,b,c,d,e) to test or q to quit. You will be prompted for read, write and register values as appropriate. Test results will be displayed in the terminal.
The is an example session:
i2c sample session