// EV9902 Example Script File

//Reset the CMX990
05 08
05 00

// Power up CMX990
04 EE
05 01

//Wait for 20ms
DELAY 2

//Enable data quality IRQ
03 96

//Wait for a data quality reading to complete
IRQ

//Read the status and data quality registers
01
//if the data quality register value is less than 0xA4 skip the next 3 lines
JLT 02 A4 3
// Read the status register
01

// This is the line the above JLT command will branch to
03
02

