You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, E.srand() should seed with whatever number you pass in. I wonder whether the ESP8266 port is using some ESP8266-provided rand function, and that isn't using srand?

    The STM32 (in jshardware.c) tries to seed the random number generator on startup using noise from the bottom bit of the ADC while looking at (iirc) the temperature of the chip.

About

Avatar for Gordon @Gordon started