Skip to content

Commit 40866de

Browse files
committed
Fix errors in core reference, mention new libraries.
1 parent 8b32ec5 commit 40866de

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

hardware/esp8266com/esp8266/doc/reference.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Note that some boards and modules (ESP-12ED, NodeMCU 1.0) also break out pins 9
2121

2222
ESP8266 has a single ADC channel available to users. It may be used either to read voltage at ADC pin, or to read module supply voltage (VCC).
2323

24-
To read external voltage applied to ADC pin, use `analogRead(A0)`. Input voltage range is 0 — 1.0V, and the reference voltage is derived from VCC, which is assumed to be 3.3V.
24+
To read external voltage applied to ADC pin, use `analogRead(A0)`. Input voltage range is 0 — 1.0V.
2525

2626
To read VCC voltage, ADC pin must be kept unconnected. Additionally, the following line has to be added to the sketch:
2727

@@ -33,7 +33,7 @@ This line has to appear outside of any functions, for instance right after the `
3333
3434
## Analog output
3535
36-
`analogWrite(pin, value)` enables software PWM on the given pin. PWM may be used on pins 0 to 15.
36+
`analogWrite(pin, value)` enables software PWM on the given pin. PWM may be used on pins 0 to 16.
3737
Call `analogWrite(pin, 0)` to disable PWM on the pin. `value` may be in range from 0 to `PWMRANGE`, which is currently equal to 1023.
3838
3939
Pin interrupts are supported through `attachInterrupt`, `detachInterrupt` functions.
@@ -175,11 +175,15 @@ Library was adapted to work with ESP8266 by including register definitions into
175175
Note that if you already have OneWire library in your Arduino/libraries folder, it will be used
176176
instead of the one that comes with this package.
177177

178-
## mDNS responder (ESP8266mDNS library)
178+
## mDNS and DNS-SD responder (ESP8266mDNS library)
179179

180-
Allows the sketch to respond to multicast DNS queries for domain names like "foo.local".
180+
Allows the sketch to respond to multicast DNS queries for domain names like "foo.local", and DNS-SD (service dicovery) queries.
181181
Currently the library only works on STA interface, AP interface is not supported.
182-
See attached example and library README file for details.
182+
See attached example for details.
183+
184+
## SSDP responder (ESP8266SSDP)
185+
186+
SSDP is another service discovery protocol, supported on Windows out of the box. See attached example for reference.
183187

184188
## DNS server (DNSServer library)
185189

0 commit comments

Comments
 (0)