marvinroger / esp8266truerandom Goto Github PK
View Code? Open in Web Editor NEWTrueRandom Arduino library for the ESP8266
License: GNU Lesser General Public License v3.0
TrueRandom Arduino library for the ESP8266
License: GNU Lesser General Public License v3.0
Hello, if I call random generation inside request processing callback, esp8266 fails:
seems like it's because 'yield' inside request processing:
"You can not use yield or delay or any function that uses them inside the callbacks"
Can it be fixed?
Hi,
I am trying to use uuidToString method, however, I am not successful. I have tried the following can you please tell me what am I doing wrong:
#include <ESP8266TrueRandom.h>
//char* uuid[16];
//String uuid = "";
uint8_t uuid[16];
void setup()
{
Serial.begin(115200);
}
void loop()
{
Serial.print("Random num: ");
Serial.println(ESP8266TrueRandom.random());
ESP8266TrueRandom.uuidToString(uuid);
Serial.print("Random uuid: ");
for (int i = 0; i < sizeof(uuid); i++)
{
Serial.print((char)uuid[i]);
}
Serial.println("\n");
delay(1000);
}
thank you
Hello @marvinroger I am not expert at how liecence works. But in github it shows that i must keep source code of the software open if i use this library.
Does that also mean that if i make an IOT Device and in that device's firmware if i am using this library i have to keep the source code open. ??
Hello, its compatible with esp32?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.