Calibration

In Development: The detail provided here is currently under active development.

Reading Values

The following code will read the raw values from each of the sensors.

// Some code
// Read from the I2C sensor

Writing Calibration Values

The following code will write a value to the board that will be used for comparison to determine if the board has detected a contrasted section.

// Some code

Writing Compare Logic

The default behaviour of the board is to look for values that are above the calibrated limit. However by running the following code, the board can be setup to look for values lower than the calibrated limit.

// Some code

Reading Compare Setting

The following code can be used to determine if the board is setup as compare high or compare low.

// Some code

Last updated