Add tone support for Due (#9807)

This commit is contained in:
Scott Lahteine
2018-02-25 10:48:14 -06:00
committed by GitHub
parent 0557ab5780
commit f2c0ed193d
5 changed files with 75 additions and 3 deletions

View File

@ -67,7 +67,7 @@ const tTimerConfig TimerConfig [NUM_HARDWARE_TIMERS] = {
{ TC1, 0, TC3_IRQn, 2}, // 3 - stepper
{ TC1, 1, TC4_IRQn, 15}, // 4 - temperature
{ TC1, 2, TC5_IRQn, 0}, // 5 - [servo timer3]
{ TC2, 0, TC6_IRQn, 0}, // 6
{ TC2, 0, TC6_IRQn, 0}, // 6 - tone
{ TC2, 1, TC7_IRQn, 0}, // 7
{ TC2, 2, TC8_IRQn, 0}, // 8
};