-->
Page 1 of 2

ESP 01 digitalRead() from GPIOS button and send by udp

PostPosted: Thu Feb 18, 2016 2:26 am
by samialfarra
Please how to read digital sensor in ESP 01 And sent it by udp

Re: ESP 01 digitalRead() from GPIOS button and send by udp

PostPosted: Thu Feb 18, 2016 10:16 pm
by samialfarra
Please reply

Re: ESP 01 digitalRead() from GPIOS button and send by udp

PostPosted: Sat Feb 20, 2016 7:27 pm
by mrburnette
samialfarra wrote:Please how to read digital sensor in ESP 01 And sent it by udp


In my GPS time project, I read the serial stream from a FOS and send the entire $RMC out over UDP.

You may be able to adapt, no promises. You need to gather the sensor data, convert to a string, and send those characters out. The ESP8266 clients can then display - or, parse the string to perform other actions.

Ray

Re: ESP 01 digitalRead() from GPIOS button and send by udp

PostPosted: Tue Feb 23, 2016 12:37 am
by samialfarra
Thank you Ray . I want to know can read digital pin in ESP 01 that have only gpio 0 and gpio 2 like digital pin in arduino