-
-
Save anonymous/025263923d39ccb95f31 to your computer and use it in GitHub Desktop.
Raspberry Pi
This file contains 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
puts "Hallo, ich werde nun alle 10 Sekunden die Temperatur speichern" | |
var = 0 | |
loop do | |
var = var + 1 | |
puts var | |
exec("vcgencmd measure_temp >> temp.txt") | |
sleep(10) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment