Output 0V to 5V with Arduino

analogWrite() can do 256 levels, from 0 to 255.
Here are 0,25,50,75,100,125,150,175,200,225,250 then back to 0, with each level left on for the same time period


Output was a simple RC filter, with no load after it.