Can you post a link to the board you have? Sounds like you have one of those Mega's, with an ESP8266 built in. This tutorial might be of help: ATmega328p + ESP8266 WIFI tutorial
Can you post a link to the board you have? Sounds like you have one of those Mega's, with an ESP8266 built in. This tutorial might be of help: ATmega328p + ESP8266 WIFI tutorial