EasyManua.ls Logo

Ocean Optics Flame-S - Page 109

Ocean Optics Flame-S
130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8: Firmware and Advanced Communications
225-00000-000-11-201604 99
LED Status
Sets the Flame LEDs as follows.
Data Byte = 0 LEDs Off
Data Byte = 1 LEDs On
Byte Format
Byte 0
Byte 1
0x12
Data byte
General I2C Read
Performs a general purpose read on the I2C pins for interfacing to attached peripherals. The
time to complete the command is determined by the amount of data transferred and the
response time of the peripheral. The I2C bus runs at 400KHz. The maximum number of bytes
that can be read is 61.
Command Byte Format
Byte 0
Byte 1
Byte 2
0x60
I
2
C Address
Bytes to Read
Return Byte Format
Byte 0
Byte 1
Byte 2
Byte 3
Byte N+3
I
2
C Results
I
2
C Address
Bytes to Read
Data Byte 0
Data byte N
I
2
C Result Value
Description
0
I
2
C bus Idle
1
I
2
C bus Sending Data
2
I
2
C bus Receiving Data
3
I
2
C bus Receiving first byte of string
5
I
2
C bus in waiting for STOP condition
6
I
2
C experienced Bit Error
7
I
2
C experience a Not Acknowledge (NAK) Condition
8
I
2
C experienced successful transfer
9
I
2
C bus timed out

Table of Contents

Related product manuals