So I have a motor driver shield, this one: http://wiki.seeed.cc/Motor_Shield_V2.0/ I am using an UNO.
My issue with it is that it uses digital pins 8-13. This interferes with the SPI pins, which are 10-13. Thus, I would like to remap the board to use different pins. There seems to be a problem though: To control the motor's speeds, the shield uses the PWM pins 9 and 10. I looked in the .cpp files for the library, and it uses TIMER1, which is what is controls these PWM pins. If I plan on making this shield able to control motor speeds with PWM after changing my pins, I would have to use either TIMER0 (pins 5 and 6) or TIMER2 (pins 11 and 3). However, these are both 8-bit timers. Also, I can't use TIMER0 as it is used for the delay() functino, and TIMER2 is attached to pin 11 (which I want for SPI).
Does anyone have any advice on what I could do? I haven't messed with timers or interrupts before, so I am not sure if I could re-write the library well for myself. Perhaps I could use pins 3 (TIMER2) and 9 (TIMER1). However, TIMER2 is only 8 bit (if this is a problem) Thanks in advance for the help.