I'm looking to create a function for random numbers similar to the link above.
Is there anything in the hardware that would help produce a random seed?
Hi, i did a quick search in the SAM D21 datasheet and i don't find any reference to hardware random generator.
Assuming you're on the INDIO D21G, you could use for randomSeed() the MCU analog pins A11, A12, A13 as they are not used and appear to be floating a little bit. The 4 analog input channels are not a good source as far as i can see.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!