Difference between revisions of "EMAC Example Projects"
Line 11: | Line 11: | ||
* [[example_hello|The 'hello' example project]] - basic "hello world" project | * [[example_hello|The 'hello' example project]] - basic "hello world" project | ||
* [[example_i2c_test|The 'i2c test' example project]] - writes and reads bytes to a selected register on the I²C device | * [[example_i2c_test|The 'i2c test' example project]] - writes and reads bytes to a selected register on the I²C device | ||
− | * [[Libgpiod_IO_Example|The 'libgpiod io' example project]] [ | + | * [[Libgpiod_IO_Example|The 'libgpiod io' example project]] [OE5.X]- covers basic GPIO usage for the IPAC single board computer, and 150 and 200 series carrier boards |
* [[example_pthread_demo|The 'pthread demo' example project]] - demonstrates how to use pthreads | * [[example_pthread_demo|The 'pthread demo' example project]] - demonstrates how to use pthreads | ||
* [[example_pthread_hello|The 'pthread hello' example project]] - another demonstration of pthreads | * [[example_pthread_hello|The 'pthread hello' example project]] - another demonstration of pthreads |
Revision as of 11:29, 25 September 2020
Example Projects
- The 'can' example project (under construction) -
- The 'fbench' example project - a floating point benchmark which tests the accuracy and speed of floating point operations on the target systems
- The 'getkey' example project - demonstrates how to use a keypad with a SoM150ES carrier board
- The 'hello' example project - basic "hello world" project
- The 'i2c test' example project - writes and reads bytes to a selected register on the I²C device
- The 'libgpiod io' example project [OE5.X]- covers basic GPIO usage for the IPAC single board computer, and 150 and 200 series carrier boards
- The 'pthread demo' example project - demonstrates how to use pthreads
- The 'pthread hello' example project - another demonstration of pthreads
- The 'serial' example project - application performs an asynchronous IO test on the specified serial device using either poll or FASYNC mode.
- The 'socket' example project - demonstrates how to set up host and client node sockets on an Ethernet network
- The 'spi test' example project - demonstrates how to use a 12 bit A/D converter chip (mcp3208) with SPI Serial Interface
- The 'timer' example project - demonstrates how to use the software timer
- The 'watchdog' example project - demonstrates how to use the watchdog timer (a hardware circuit that can reset the computer system in case of a software fault)
Example Projects Specific to the EMAC SDK 4.X
- The 'atod_test' example project - demonstrates reading the channels of an indexed AtoD device
- The 'io demo' example project - provides four demos using SOM-150ES carrier board I/O
- The 'egpc' example project - demonstrates reading, writing and configuring the GPIO ports
- The 'mcp4922 test' example project - demonstrates how to access the on-board DtoA of an EMAC SoM-150ES carrier board
Example Projects for Specific Products
- The 'brightness' example project (under review) -
- The 'ipac_led' example project (under construction) -
- The 'sights-and-sounds' example project (under construction) -
- The 'serport212' example project (under review) -
- The 'SoM-150es-keyboard-lcd' example project (under construction) -
- MikroBus Example on the DEV-IOT6U - a demonstration of the use of the MikroBus on the DEV-IOT6U