Ramp, saw-tooth wave genrator code & connection needed

Only if you can provide a proper and complete project description.