Home > other >  Embedded bosses come in, please save the children
Embedded bosses come in, please save the children

Time:09-23

With "$" sign, led to choose TIM5 appropriate to resources on chip implementation: according to certain speed gradually outward from a center of light, then reverse out and circulation; According to the key1, key2 can change the speed of light

13 a copy here becomes the symbol I don't know why

Bosses are thinking

CodePudding user response:

If only on chip resources, only a pin control a lamp, lamp decorate good shape first, and then configure the timer interrupt and two external interrupt, timer interrupt is responsible for setting the corresponding pin reset the lamp (destroy the light of inner ring and outer ring is divided into four function, and want to process simple operation with a belt), external interrupts can by changing the timer period or prescale values to change the timing time,

CodePudding user response:

Set a circle, to calculate the coordinates of point by point display led chase a little brighter

CodePudding user response:

Now the problems is to use TIM5 hardware implementation rather than pure software time delay function realize how make walking @ @ SeanOY black tea
  • Related