Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

ESP32 Random Test

A sample sketch demonstrating the problem in Sandeep Mistry's excellent LoRa library's random() function. See this issue for context.

This was written for ESP32, but is easily adaptable to other platforms. The code runs on TTGO series. A T-Beam in this case, but it'll work as is with basically any LoRa-equipped TTGO or Heltec ESP32 device.

This version moves LoRandom to a library on its own. I can now update one file and reuse in all my projects...

Note: I have "customized the LoRa library by moving

uint8_treadRegister(uint8_taddress);
voidwriteRegister(uint8_taddress, uint8_tvalue);

to public: in LoRa.h – as we need access to the registers, obviously.

See:

Generating Random Numbers with LoRandom

vs

Generating Random Numbers with LoRaClass::random

About

A sample sketch demonstrating the problem in Sandeep Mistry's excellent LoRa library's `random()` function. See [this issue](https://github.com/sandeepmistry/arduino-LoRa/issues/394) for context.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages