MicroViewStats by maganj3m

Cloned from Sketch MicroView by codebender_walkthrough

This sketch is missing a short description
from time import sleep import serial import psutil ser = serial.Serial('/dev/tty...', 9600) while 1: vm = psutil.virtual_memory() cpu = psutil.cpu_times_percent() ser.write("mem: "+str(vm[2])) ser.write("cpu: "+str(cpu[0])+"/"+str(cpu[2])+"/"+str(cpu[3])) sleep(5) ser.close

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:44287" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>