Arduino Nano Function Generator

So I saw the Circuit Digest tutorial on making a function generator with the Arduino Nano, but I am trying to modify it where it has an A and B pulse (out of phase, both square wave). I have some ideas but am not sure if it would work so I would appreciate any suggestions.

[original story: Circuit Digest]

Circuit Digest 09 Dec 13:29