Where are you stuck ?
Is it in sending the data or receiving it ?
Personally I would not use pins 0 and 1 on the Mega, but use one of its other 3 hardware serial interfaces which leaves Serial on pins 0 and 1 for debugging
Where are you stuck ?
Is it in sending the data or receiving it ?
Personally I would not use pins 0 and 1 on the Mega, but use one of its other 3 hardware serial interfaces which leaves Serial on pins 0 and 1 for debugging