4014内部是否有随机数生成器?如果有的话请介绍说明一下,代码位置,或组件设置等。谢谢。
Solved! Go to Solution.
Looking through the datasheet I see no reference to a True Random Number Generator. It has been a while since I used this chip, so there might be a software solution.
Good luck!
Looking through the datasheet I see no reference to a True Random Number Generator. It has been a while since I used this chip, so there might be a software solution.
Good luck!
Dear DaBr,
Thanks a lot.
If the software reads any input from an user (buttons for example) you could do a simple pseudo random generator. You can have a timer running without stop from 0 to max and when the user presses the button you can read the number from the register of the timer. I did this for a project at the university where i needed 4 random numbers from 0 to 9. And it worked fine, at least for me .