Commit ce00efad authored by Matthieu Cattin's avatar Matthieu Cattin

Add temperature to test01 log.

parent 9aa99821
......@@ -71,6 +71,10 @@ def main (default_directory='.'):
else:
print('Unique ID: %.12X') % unique_id
# Read temperatur and print to log
temp = fmc.get_temp()
print('Temperature: %3.2fC') % temp
if((unique_id & 0xFF) != FAMILY_CODE):
family_code = unique_id & 0xFF
print('family code: 0x%.8X') % family_code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment