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.
10 years, 6 months 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?
1 Answer
10 years, 6 months ago.
strangly it works now after recompiling again putted some code to monitor it
How do you use srand()? Could you post your code?
posted by David Golz 05 Oct 2013