> For the complete documentation index, see [llms.txt](https://ptandur14.gitbook.io/everything-about-drone/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ptandur14.gitbook.io/everything-about-drone/testing-and-executing-codes/monitoring-the-pressure-difference.md).

# Monitoring the Pressure Difference

In this code we are going to monitor the pressure values which will be displayed on our monitor.

.

```
// Do not remove the include below
#include "PlutoPilot.h"
#include "Estimate.h"
#include "Utils.h"
#include "Sensor.h"

//The setup function is called once at Pluto's hardware startup
void plutoInit()
{
// Add your hardware initialization code here
}



//The function is called once before plutoLoop when you activate Developer Mode
void onLoopStart()
{
  // do your one time stuff here

}



// The loop function is called in an endless loop
void plutoLoop()
{

	Monitor.println("Pressure is ", Barometer.get(PRESSURE));
//Add your repeated code here

}



//The function is called once after plutoLoop when you deactivate Developer Mode
void onLoopFinish()
{

// do your cleanup stuffs here

}





```
