mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 17:51:20 +00:00
18 lines
279 B
C++
18 lines
279 B
C++
const int Temp = 0;
|
|
|
|
void setup() {
|
|
// put your setup code here, to run once:
|
|
Serial.begin(115200);
|
|
pinMode(Temp, INPUT);
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
Serial.print("Temperature: ");
|
|
Serial.println(analogRead(Temp));
|
|
delay(1000);
|
|
}
|
|
|
|
|
|
|