Activity Forums Questions & Troubleshooting Software & Firmware Random seed using analogread

  • Random seed using analogread

  • mr-controllino

    Administrator
    January 28, 2019 at 3:42 pm

    Hello Daniele,

    All analog pins are tied to Ground from the voltage divider.

    So you cannot create a random number with that method.

    regards

    Marco

  • d-serafini

    Member
    January 28, 2019 at 4:22 pm

    Thanks Marco, now the 0 get sense.

    Do you know any other method I can use to initialize the seed?

    (I’ve got no user interaction so I cannot use millis).

    Daniele.

  • d-serafini

    Member
    January 29, 2019 at 9:06 am

    Hi,

    I’ve get good results using the library.

    Thanks to all!

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now