The hardwire SPI port is on different pins on a mega. The I2C pins are also, unless you use the header pins labeled SCL & SDA.
The hardwire SPI port is on different pins on a mega. The I2C pins are also, unless you use the header pins labeled SCL & SDA.