chunlinhan / WiFiRM04

Arduino WiFi library for Hi-Link HLK-RM04 module
37 stars 28 forks source link

WiFiRM04 with 32u4 (Leonardo or Pro Micro) #7

Open simonparke opened 10 years ago

simonparke commented 10 years ago

Dear Chunlinhan,

Firstly, let me say that you have done excellent work producing this library!

Do you think it would be possible to implement the library on an arduino without two hardware UARTS like the Leonardo or Pro Micro?

Maybe using softwareserial for serial2?

(Serial on the 32u4 is USB only and Serial1 is hardware uart)

Regards,

Simon

chunlinhan commented 10 years ago

Hi Simon,

You just need 1 serial port (hardware or software) could make this lib work.

But If you use software one, please use AltSoftSerial with baud rate 19200.