Created
January 29, 2021 04:03
-
-
Save fxprime/8d6ec07c70fd2e3e7c8b35c40eac8540 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
void setup() { | |
Serial.begin(115200); | |
} | |
void loop() { | |
float pressure = 10013.0; | |
float temperature = 31; | |
Serial.println( String("Pressure : ") + String(pressure,2) + String(", Temperature : ") + String(temperature,2) + String(" degC")); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment