ESP8266 Support WIKI

User Tools

Site Tools


esp8266_gpio_pin_allocations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
esp8266_gpio_pin_allocations [2016/07/16 10:27]
bullestock Fix underscores and other formatting
esp8266_gpio_pin_allocations [2017/10/30 08:09]
dampmaskin [PWM] correction
Line 33: Line 33:
  
 analogWrite(pin,​ value) enables software PWM on the given pin. PWM may be used on pins 0 to 15. Call analogWrite(pin,​ 0) to disable PWM on the pin. Value may be in range from 0 to 1023. analogWrite(pin,​ value) enables software PWM on the given pin. PWM may be used on pins 0 to 15. Call analogWrite(pin,​ 0) to disable PWM on the pin. Value may be in range from 0 to 1023.
-0 to 255 is normal on an Arduino board, as it's an 8bit ADC,  but ESP8266 ​is 10 bit so 1023 is full duty cycle.+0 to 255 is normal on an Arduino board, as it's an 8 bit register,  but ESP8266 ​uses software PWM so 1023 is full duty cycle.
  
 ===== Pin Functions ===== ===== Pin Functions =====
esp8266_gpio_pin_allocations.txt · Last modified: 2017/11/10 02:18 by ekriirke