<commit_before>import MCP3202
import time
import datetime
import os
from time import strftime


try:
  while 1:
    	os.system('clear')
	value1= MCP3202.readADC(0)	# range data 0 - vref (volt)
	voltage=round(float(value1*5000/4096),2)
	temperature = (voltage-550)/10
	tampil= round(float(temperature),2)
 	print "Weather Station"
	print "Curent Temperature : ",tampil,u"\u2103"
    	print ""
	print "Press CTRL+C to exit"
   	time.sleep(0.075)

except KeyboardInterrupt:
    	print "exit"
<commit_msg>Update 07_Weather_Station.py<commit_after>import MCP3202
import time
import datetime
import os
from time import strftime

try:
	while 1:
    		os.system("clear")
		value1= MCP3202.readADC(0)
		voltage = round(float(value1 * 5000 / 4096), 2)
		temperature = (voltage - 550) / 10
		tampil = round(float(temperature), 2)
 		print("Weather Station")
		print("Curent Temperature : ", tampil, u"\xb0", "C")
    		print("")
		print("Press CTRL+C to exit")
   		time.sleep(0.075)

except KeyboardInterrupt:
	print("exit")
{'fraction_non_alphanumeric': 0.126232741617357, 'fraction_numerical': 0.06903353057199212, 'mean_word_length': 4.259067357512953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3953573', 'n_tokens_mistral': 440, 'n_tokens_neox': 368, 'n_words': 93}