In MEGA 2560, making triangular waves over 300kHz

then what hardware should I use?