How to get NodeMCU to read Duty Cycles of a 555 Timer

Title is my question. I'm using the Arduino IDE. Also not sure if this is the right spot to post this, if so please direct me to the correct spot. Appreciate it! 

-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/