Commits

clach04  committed d85b902

test cpu usage/temp call demo (commented out for now).

  • Participants
  • Parent commits f17a0a4

Comments (0)

Files changed (1)

         if temp_cpu:
             my_text = 'CPU: %02d%sC' % (temp_cpu, degree_sign)  # optionally add degree sign? Required Unicode font (or at least non-ASCII, e.g. latin1 font is fine)
             d.display_text_on_line(line_num, my_text, False, None, fg)
+            #cpu_util = 0
+            #d.display_cpu_info(cpu_util, temp_cpu, util_colour=fg, temp_colour=fg)
             line_num += 1
         
         temp_mb = sensors.temp_mb()