Cytron Wifi Shield with Mega 2560 using hardware serial

Discussion on how to get started with various type of IoT projects

Cytron Wifi Shield with Mega 2560 using hardware serial

Postby wayves » Fri Dec 18, 2020 12:19 am

Hi, is it possible to use hardware serial instead of software serial for an Arduino Mega 2560 stacked to a Cytron Wifi Shield 2.0? If its possible, can you share the code?
wayves
Fledgling
 
Posts: 1
Joined: Fri Dec 18, 2020 12:10 am

Re: Cytron Wifi Shield with Mega 2560 using hardware serial

Postby ZaM » Tue Dec 22, 2020 12:31 pm

Hi,

Yes, it is possible, you can use pin D1 and D0. For the code is still the same, just change the software serial pin to the hardware pin, and remove your Serial Monitor output.
ZaM
Moderator
 
Posts: 78
Joined: Tue Nov 23, 2010 4:16 pm


Return to Getting Started - IoT

Who is online

Users browsing this forum: No registered users and 1 guest

cron