Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
12 years ago.
Rand() doesnt produce a randomnumber
in Mbed RTOS the rand() function doesnt produce a random number. Even with srand() you will get all the time a fixed number.
As this rand() most likely is taken from some counter, i assume there isnt a counter left for this purpose?
How do you use srand()? Could you post your code?
posted by David Golz 05 Oct 2013