- This topic has 1 reply, 2 voices, and was last updated 8 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › random numbers generation.
how to generate random numbers using 8051?
Hye bertilla,
Here is no mater of type of controller. You can generate random number using rand ( ) function by calling stdlib.h header file.
rand ( ) is generate series of intiger number from 0 to maximum number as you defined. You need to initialize value by srand ( ) function for generate distinct value of random number.