Greetings,

I am stuck on a topic for TAFE and cannot get my head around it.

I need to Write a program to use a D to A converter board to output various signals which can be viewed on an oscilloscope.

I have made the Triangle wave, which works, but am stuck on the sine wave.

Code for sine wave thus far is:



It will not compile and I keep getting errors. I think...