Get pressure values from the pressure sensor on your smartphone to use it in your sketch.
This shield is one of the sensor shields. Sensor shields allows you to tap into your smartphone’s sensors and use in prototyping with Arduino, you can get information from the surrounding environment and use it to trigger a certain action.Learn more from the sensor shields tutorial.
Pressure sensors measures the ambient air pressure in hpa or mbar.Pressure sensor Library allows arduino to get measured pressure values from the smartphone.
Adding #define CUSTOM_SETTINGS along with #define INCLUDE_PRESSURE_SENSOR_SHIELD is a key that will let you unlock the Pressure shield only amongst all shields and prevent 1Sheeld library from eating your memory specially for UNO board.
unsigned long getValue(void)
Get sensed pressure values from the pressure sensor.
Returns an unsinged long holding the value of proximity.
&userFunctionName: takes the physical address of the userFunction in the memory and jump to it once called to execute it’s functionality.
/* myFunction exists under the loop function. */
/* This function will be invoked each time a new value is sensed by the pressure sensor. */
void myFunction (unsigned long pressureValue)
/*Print out the pressure values on the Terminal of the application. */