Page 1 of 1
Identifying the type of ESP module
Posted:
Fri Jan 13, 2017 1:34 pm
by Vijay Sharma
Hi, I am writing a program in which my program needs to know if it is running on ESP 01 or ESP 12 because it will assign the ports accordingly. Is there a way for us to know the type of module we're running on?
Re: Identifying the type of ESP module
Posted:
Fri Jan 13, 2017 3:41 pm
by jankop
What about flash size?
The esp8266-01 has 0,5 or 1MB and esp8266-12 has 4MB flash size.
Re: Identifying the type of ESP module
Posted:
Fri Jan 13, 2017 9:36 pm
by Vijay Sharma
Yes, thanks maybe that would so the trick.
Thanks for the help!