Skip to content

Commit 605e76f

Browse files
author
ficeto
committed
Merge pull request #30 from esp8266/esp8266
pull master
2 parents b5adb1b + 4b2887c commit 605e76f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ By default the diagnostic output from WiFi libraries is disabled when you call `
8282

8383
Both ```Serial``` and ```Serial1``` objects support 5, 6, 7, 8 data bits, odd (O), even (E), and no (N) parity, and 1 or 2 stop bits. To set the desired mode, call ```Serial.begin(baudrate, SERIAL_8N1);```, ```Serial.begin(baudrate, SERIAL_6E2);```, etc.
8484

85+
#### Progmem ####
86+
87+
The Program memory features work much the same way as on a regular Arduino; placing read only data and strings in read only memory and freeing heap for your application.
88+
The important difference is that on the esp8266 the literal strings are not pooled. This means that the same literal string defined inside a ```F("")``` and/or ```PSTR("")``` will take up space for each instance in the code. So you will need to manage the duplicate strings yourself.
89+
8590
#### WiFi(ESP8266WiFi library) ####
8691

8792
This is mostly similar to WiFi shield library. Differences include:
@@ -160,6 +165,8 @@ Several APIs may be used to get flash chip info:
160165

161166
```ESP.getFlashChipSpeed(void)``` returns the flash chip frequency, in Hz.
162167

168+
```ESP.getCycleCount()``` returns the cpu instruction cycle count since start as an unsigned 32-bit. This is useful for accurate timing of very short actions like bit banging.
169+
163170

164171
#### OneWire (from https://www.pjrc.com/teensy/td_libs_OneWire.html) ####
165172

@@ -181,7 +188,8 @@ Libraries that don't rely on low-level access to AVR registers should work well.
181188
- [PubSubClient](https://github.com/knolleary/pubsubclient) MQTT library. Use this [sample](https://gist.github.com/igrr/7f7e7973366fc01d6393) to get started.
182189
- [DHT11](https://github.com/adafruit/DHT-sensor-library) - initialize DHT as follows: ```DHT dht(DHTPIN, DHTTYPE, 15);```
183190
- [DallasTemperature](https://github.com/milesburton/Arduino-Temperature-Control-Library.git)
184-
191+
- [NeoPixelBus](https://github.com/Makuna/NeoPixelBus) - Arduino NeoPixel library compatible with esp8266.
192+
- [RTC](https://github.com/Makuna/Rtc) - Arduino Library for Ds1307 & Ds3231 compatible with esp8266.
185193

186194
#### Upload via serial port ####
187195
Pick the correct serial port.

0 commit comments

Comments
 (0)