Skip to content

Instantly share code, notes, and snippets.

@fxprime
Created January 29, 2021 04:05
Show Gist options
  • Select an option

  • Save fxprime/c91968f878f677cb117cb7103e83f337 to your computer and use it in GitHub Desktop.

Select an option

Save fxprime/c91968f878f677cb117cb7103e83f337 to your computer and use it in GitHub Desktop.
#include <Arduino.h>
void setup() {
Serial.begin(115200);
}
void loop() {
float pressure = 10013.0;
float temperature = 31;
Serial.println( "Pressure : " + String(pressure,2) + ", Temperature : " + String(temperature,2) + " degC");
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment