Program Example - Philips PC-Link Manual

Table of Contents

Advertisement

15.UART TTL and RS232 (by shorting RX and TX) will produce the same byte
values between Out and In, which are 1, 3, 7, 15, 31, 63, 127, and 255.
When the connection between RX and TX is released, the status bar (in the
bottom) will show that there is no data.
16.UART RS485 testing will send 1, 3, 7, 15, 31, 63, 127, and 255 to
computer. And the next data sent by the computer must match the data that
the module reads.
5.

PROGRAM EXAMPLE

SmartIO program source code is included in the CD/DVD. This source code can
be used as a guideline to make other programs.
The following are the explanations of each SmartIO.exe GUI function.
Get Baud
Rate
Baud Rate reading results /
Determined Baud Rate
Get Bit
Rate
Bit Rate reading results /
Determined Bit Rate
Set Function
Get Function
Set Baud
Rate
Set Bit
I2C
Rate
Start
Sent byte
Analog
Direct
Pull-up
Send DAC
Get Version
Value sent
to DAC
I2C
I2C
Write
Read
Ack/Nack
20
Ping Reset
Version reading
result
Reading
I2C
result byte
Stop
Port Selection
Get Port

Advertisement

Table of Contents
loading

Table of Contents