Home > other >  Initialize the timer
Initialize the timer

Time:09-24

I want to put the main function in the example below in the while (1), excuse me, are the main function of the timer will have been initialized, lead to overflow, never automatically add a timer,
Specific examples below

I use this app # CSDN# found have technical content of the blog and friends to seek common to "C51 portal - lit LED lights (for loop, while loop, timer interrupt cycle)", gathered together at https://blog.csdn.net/weixin_37584766/article/details/84076698? Utm_source=app

CodePudding user response:

Your program doesn't see??

CodePudding user response:

That, of course, normal logic

CodePudding user response:

Initialization is not in the loop body, initialize the general initialize a can, on a while ago

CodePudding user response:

Why in the while qualifying examination, each initialization waste chip internal storage computing resources,
  • Related