Motorola pressure sensor returning 45mV per kPa.
This must be connected to an ADC pin. It may be defined using:
MPX5100A sensor = MAKE_MPX5100A(ADC0);
Where ADC0 is changed to be the required ADC input channel.
The sensor should be initialised in appInitHardware using:-
The sensor can then be read using:-
and then the pressure, in Pascals, will be in sensor.pressure.pa