simple.exe/simple.elf

Overview

This demo performs communications between a standalone Revolution console USB (COM) port and a standalone PC. The USB (COM) ports are used for bidirectional communications.

The Revolution sends data to the PC

Sends Revolution calendar data during send okay status.

The PC sends data to the Revolution

Sends PC calendar data during send okay status.

Note:simple does not use Hio2If.

File Structure

Revolution : src/simple.c, include/simple.h, multi.h
PC : vc++/simplel/*, vc++/HioIf/src/Hio2DllIf.cpp, vc++/HioIf/src/Hio2DllIf.h

Operation Method

Revolution

- A Button Switches communication methods (Revolution -> PC or PC -> Revolution)
- PAUSE button Press to quit.
PC

- ESC key Press to quit.

Comments

hio2demo/src/simple.c has two methods that can be used to detect mail from the PC.

default

Detects the method using a callback function (EXI interrupt).

Specify -DPOLLING during build

Detects the method using HIO2ReadStatus.

See Also

HIO2 API

Revision History

2006/03/01 Initial version.


CONFIDENTIAL