Skip to content

Commit 0a9767d

Browse files
committed
Merge pull request #1173 from Links2004/master
add define RANDOM_REG32 + update libraries.md
2 parents 2c38159 + 1096781 commit 0a9767d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

cores/esp8266/esp8266_peri.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,4 +834,10 @@ extern uint8_t esp8266_gpioToFn[16];
834834
#define I2STXCMM (0x7) //I2S_TX_CHAN_MOD
835835
#define I2STXCM (0) //I2S_TX_CHAN_MOD_S
836836

837+
/**
838+
Random Number Generator 32bit
839+
http://esp8266-re.foogod.com/wiki/Random_Number_Generator
840+
**/
841+
#define RANDOM_REG32 ESP8266_DREG(0x20E44)
842+
837843
#endif

doc/libraries.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,15 @@ While many RC servo motors will accept the 3.3V IO data pin from a ESP8266, most
140140
141141
Libraries that don't rely on low-level access to AVR registers should work well. Here are a few libraries that were verified to work:
142142
143+
- [Adafruit_ILI9341](https://github.com/Links2004/Adafruit_ILI9341) - Port of the Adafruit ILI9341 for the ESP8266
143144
- [arduinoWebSockets](https://github.com/Links2004/arduinoWebSockets) - WebSocket Server and Client compatible with ESP8266 (RFC6455)
144-
- [aREST](https://github.com/marcoschwartz/aREST) REST API handler library.
145+
- [aREST](https://github.com/marcoschwartz/aREST) - REST API handler library.
145146
- [Blynk](https://github.com/blynkkk/blynk-library) - easy IoT framework for Makers (check out the [Kickstarter page](http://tiny.cc/blynk-kick)).
146147
- [DallasTemperature](https://github.com/milesburton/Arduino-Temperature-Control-Library.git)
147148
- [DHT-sensor-library](https://github.com/adafruit/DHT-sensor-library) - Arduino library for the DHT11/DHT22 temperature and humidity sensors. Download latest v1.1.1 library and no changes are necessary. Older versions should initialize DHT as follows: `DHT dht(DHTPIN, DHTTYPE, 15)`
148149
- [NeoPixel](https://github.com/adafruit/Adafruit_NeoPixel) - Adafruit's NeoPixel library, now with support for the ESP8266 (use version 1.0.2 or higher from Arduino's library manager).
149150
- [NeoPixelBus](https://github.com/Makuna/NeoPixelBus) - Arduino NeoPixel library compatible with ESP8266. Use the "NeoPixelAnimator" branch for ESP8266 to get HSL color support and more.
150-
- [PubSubClient](https://github.com/Imroy/pubsubclient) MQTT library by @Imroy.
151+
- [PubSubClient](https://github.com/Imroy/pubsubclient) - MQTT library by @Imroy.
151152
- [RTC](https://github.com/Makuna/Rtc) - Arduino Library for Ds1307 & Ds3231 compatible with ESP8266.
152153
- [Souliss, Smart Home](https://github.com/souliss/souliss) - Framework for Smart Home based on Arduino, Android and openHAB.
153154
- [ST7735](https://github.com/nzmichaelh/Adafruit-ST7735-Library) - Adafruit's ST7735 library modified to be compatible with ESP8266. Just make sure to modify the pins in the examples as they are still AVR specific.

0 commit comments

Comments
 (0)