Hey I got my 4digit Arduino DMM working, almost. It reads from the 10-bit ADC on one of the pins, converts it to mV, then does some math I came up with that works, to get each decimal. I know there's quicker ways for the math, but that's ok for now.
Once it has a decimal segment calulated, it just uses 10 if statements, each time, to choose which decimal digit segments to light up. Then it waits 100ms, and calculates the next digit.
But it slows up a bit, and I've seen numbers getting stuck, and more than 2 digits lit up at the same time, even tho that should not be allowable, I turn all the cathodes off at the start of the loop. And after each cathode is turned on for it's 100ms, I turn it off.
And for some reason, the decimal place's aren't working, probably a breadboard issue.
You can see the serial print out, the 4 digit number, and the broken up, and some remainders I used to get the digits.
The IDE really makes it feel like cheating tho, since IDK how all these things get done behind the scenes. I want to try some 4 or 8-bit only, MCU/CPU simulator, and see how they do all the math operations.
But that was fun.