RAM & CPU monitor usage code

Hi all. I'm newbie here who know nuts about programming to be honest with you guys. It's just that I found it fun to use a car oil pressure gauge to read my PC Desktop's ram usage and display it on the gauge.

But I do not know how to write and program my arduino. So may I ask for some help on this to write a code for this?

Don't Crosspost - one question, one thread please.
Question is already being worked here:
https://forum.arduino.cc/index.php?topic=431145.msg2983236#msg2983236
Topic locked.