void setup() { Serial.begin(115200); } void loop() { if(Serial.available()) { int num = Serial.parseInt(); Serial.print("The temperature is: "); Serial.print(num * 9 / 5 + 32); Serial.println(" °F"); } }
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up