I’ve bought a couple of CAN Bus Shields to be used with an Arduino Mega 2560 as I need a total of 8 PWM pins I was wondering if the pins d3, d5, d6, d7, d8, d10, d11 and d12 can be used for a PWM output as the SPI signal is being routed through the ICPS pins? I’m also unsure regarding d3 as the wiki says int_b is routed through there.
Thank you very much in advance,
Anybody? It would greatly help to know if the MISO, MOSI,SCK (d13, d12, d11), int_b (d3) and d10 pins can be used for PWM output if SPI communication runs via the ICPS pins? Also the shield is connected to an arduino mega 2560.
Thanks a lot in advance
I haven’t tried it, but I don’t think you would have a problem using those pins on a Mega 2560. From the schematic, only d2, d4, and d9 are being used, since the Mega uses the ICPS pins for SPI. d3 would be free, as long as you haven’t changed the INT jumper from d2 to d3.
I’m using a Mega 2560 with this shield myself but only to get a 2nd UART for GPS.