-->
Page 1 of 1

PIn and GPIO status

PostPosted: Mon Feb 17, 2020 9:01 pm
by Agentsmithers
Ello everyone,
I am currently running Non-Os SDK and was wondering if anyone has any useful code to get a status on all pins with the ESP8266. Not that I don't know how to but anything that's very thorough and verbose as a debug would be helpful before I end up burning my own time and writing my own or searching google when someone personally may know something better here, may something that looks at Mode / Hi/Lo / Maybe interrupts being attached, open to ideas.
Thank you guys!

Re: PIn and GPIO status

PostPosted: Tue Feb 18, 2020 4:40 am
by Barnabybear
Hi, sorry can’t help with any code. Below is a link to the registers that should contain the information you want to look at. Not the help you wanted but it might save you some time.
https://esp8266.ru/esp8266-gpio-register/

Re: PIn and GPIO status

PostPosted: Tue Feb 18, 2020 6:29 pm
by Agentsmithers
Barnabybear wrote:Hi, sorry can’t help with any code. Below is a link to the registers that should contain the information you want to look at. Not the help you wanted but it might save you some time.
https://esp8266.ru/esp8266-gpio-register/



Thank you! I think I can get to them this way as well

GPIO_REG_READ

Anyone build a backup / restore of these registers yet?