Mega 2560 instead of Metro 328

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.