-->
Page 2 of 3

Re: A little Weather Station Example

PostPosted: Fri Mar 11, 2016 8:17 am
by cicciocb
I think that we could add some more SW serial port, just to cover the missing input pin.

Re: A little Weather Station Example

PostPosted: Sat Mar 12, 2016 1:58 pm
by viscomjim
Having a full rx and tx serial port (as serial port 2) would be excellent to be able to connect to both the serial debug and a micro at the same time, thats for sure!!!

Re: A little Weather Station Example

PostPosted: Thu Apr 14, 2016 5:55 am
by lew247
I've just come across this post.
I have an ESP8266 but have not loaded basic on it yet, I'm still looking to see how to do it.
A quick question if you don't mind about your weather station.
Can it use COM1 if needed instead of COM2? (obviously I'd have to change the code to the right com port.

2nd IF I was to send the serial output to another device, say another computer or lcd screen, if I was to add the correct code, would the icon associated with the weather be sent to the other computer via the serial port?
or
would it just send the icon name?

I'm imagining the code would be something like this
let icon = json(ret,"main.icon")
then
serial2println icon

or am I completely off track?

Lew

Re: A little Weather Station Example

PostPosted: Fri Apr 15, 2016 1:31 am
by cicciocb
Hi,
yes, you can use the serial port 1.
About the question 2, you'll send the icon name and not the icon itself.

Regards,
CiccioCB