![Ocean Optics Flame-S User Manual Download Page 109](http://html1.mh-extra.com/html/ocean-optics/flame-s/flame-s_user-manual_3228091109.webp)
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
Summary of Contents for Flame-S
Page 18: ...1 Introduction 8 225 00000 000 11 201604...
Page 32: ...2 Installation and Setup 22 225 00000 000 11 201604...
Page 46: ...4 Troubleshooting 36 225 00000 000 11 201604...
Page 54: ...5 How the Flame Spectrometer Works 44 225 00000 000 11 201604...
Page 74: ...7 Calibration 64 225 00000 000 11 201604...
Page 130: ...Index 120 225 00000 000 11 201604...