1 / 2
teploměr
Order a print of this model
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
teploměr na arduino uno r3
- Rating
- 0 / 5
- Likes
- 1
- Downloads
- 0
- Makes
- 0
- Views
- 10
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Electronics
- License
- Creative Commons — Attribution — Share Alike
teploměr na arduio unno r 3 s držákem lcd
kód :
#include <Adafruit_LiquidCrystal.h>
int seconds = 0;
Adafruit_LiquidCrystal lcd_1(0);
void setup()
{
lcd_1.begin(16, 2);
pinMode(A0, INPUT);
}
void loop()
{
lcd_1.setCursor(4, 0);
lcd_1.print("teplota:");
lcd_1.setCursor(0, 1);
lcd_1.print((-40 + 0.488155 * (analogRead(A0) - 20)));
delay(3000); // Wait for 3000 millisecond(s)
lcd_1.clear();
}
