Start learning STM8 today, from the beginning of the register, register feel well complex,
CodePudding user response:
Try to download a STM32CubeMX, graphical configuration way http://www.stmcu.org.cn/module/forum/forum.php? Mod=viewthread& Tid=615935 & amp; Page=1
CodePudding user response:
Try not to use libraries or graphical code, directly register operation, talk about my experience reference for your reference, 0 foundation three years ago and have not learned microcontroller, self-study stm32 directly, see the elder brother of the atoms at the beginning of video, learning the function library, although easy to get started, but to learn more than a year, also in the clouds and fogs, then cross the rubicon, check operation, start it is difficult to understand the two or three months, slowly, found it very regularly operated by register, is very simple, more important is to chip structure also began to think, now work, insist on a register, others write a PWM to more than one page code, reference of library, I was about twenty lines of code, simple and clear! The most difficult road is often the shortest path
CodePudding user response:
Have to learn to register, STM8 register familiar after learning to 32 is easy to understand the library function developed