Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose:

The pedal board reads the ADCs for the throttle and brake pedals and broadcasts the data to the MCI.

...

The driver should send the slave address with a read byte (11001001), after which the MAX will begin sending AIN0-2 until the master transmits a STOP condition.

...

max11600_read_raw:

Send the slave address 11001001, read in three values in binary, discard the steering value, transmit STOP condition.

...

Calls max11600_read_raw, then converts the values to the value in mV. Look at Figure 12 on the datasheet to understand how to convert from binary to mV.

...