Add DAC doc and code

Continue with untested code. I will have to test many electronic things
concerning timing issues before to continue.