Home > other >  Urgent for code based on STC89C52RC electronic dice.
Urgent for code based on STC89C52RC electronic dice.

Time:10-08

Eight LED tube, from P1.0 to p1.7, six key, from P3.2 to P3.7, a LCD1602A,
Request editable dice range, dice number for 2 seconds, the middle if the second key to interrupt the plug, and the output interrupt, again after 1 second,

CodePudding user response:

And it is not hard to, to make up, by difficulty to ask again

CodePudding user response:

The random srand () function can be used, but should pay attention to the generated is a pseudo-random number, if you want to truly random number will be added to process the time these data in real time,

CodePudding user response:

Write their own functions, try to write first, slowly debugging
  • Related