pwm channels on Ardiuno DUE and PID library

Hello! I would really appreciate it if some one could answer my two questions

  1. Can the PID library be used with Ardiuno Due
  2. Where can I find about what frequencies the the different pwm ports on the DUE have and how can they be changed.

Thanks very much for your responses and time to consider this. Regards Ali

1) Don't know - try it and report back perhaps?

2) Read the sources, its currently fixed at 1kHz in variant.h with a #define rather than a variable (what were they thinking?)

Hi! thanks for the reply :)

Ill give the PID a shot! In the mean while if theres any one else out there whoes used it?

1kHz? are you sure? Isnt that a bit too low?

alibaba9292: Hi! thanks for the reply :)

Ill give the PID a shot! In the mean while if theres any one else out there whoes used it?

1kHz? are you sure? Isnt that a bit too low?

Like I say, read the source... Unless you want to poke around and change your copy of variant.h its fixed at 1kHz.

all right! thanks :)