pressure12 2.0.0.0
|
Pressure12 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Pressure12 Click example.
Reads ADC value, convert ADC data to Voltage[ mV ] and pressure [ mBar ].
The demo application is composed of two sections :
Initializes ADC and LOG for logging data.
Reads ADC value, convert ADC data to Voltage[ mV ] on the AN pin and convert to Pressure data in mBar. All data logs to the USBUART each second.
Output is proportional to the difference between applied pressure and atmospheric (ambient) pressure.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |