Triangle Wave

The Code now supports triangle, sine, and constant waves. Maybe include sawtooth eventually.