Added CPU temperature information (only for Teensy-4) to status display.

pull/68/head
Holger Wirtz 3 years ago
parent 62ba943135
commit 7ad3d2f528
  1. 6
      MicroDexed.ino

@ -2514,7 +2514,13 @@ void show_cpu_and_mem_usage(void)
Serial.print(AudioProcessorUsageMax(), 2);
Serial.print(F("%|CPUMAXCNT:"));
Serial.print(cpumax, DEC);
#ifdef TEENSY4
Serial.print(F("|CPUTEMP:"));
Serial.print(tempmonGetTemp(), 2);
Serial.print(F("C|MEM:"));
#else
Serial.print(F("|MEM:"));
#endif
Serial.print(AudioMemoryUsage(), DEC);
Serial.print(F("|MEMMAX:"));
Serial.print(AudioMemoryUsageMax(), DEC);

Loading…
Cancel
Save