generate 10Khz triangle waveform

hello

can arduino due generate 10Khz tiangle wave form. if can how to i write program to make 10Khz..
regards

If you modify Sinewave[2] data, you can try a code from this page: