当前位置:网站首页>STM32 and motor development (from architecture diagram to documentation)
STM32 and motor development (from architecture diagram to documentation)
2022-07-05 13:02:00 【Embedded - old fee】
【 Statement : copyright , Welcome to reprint , Do not use for commercial purposes . Contact mailbox :feixiaoxing @163.com】
Many students don't like writing documents , I always feel that writing documents delays things , Impact on development efficiency . actually , That's not necessarily the case . In actual development , The purpose of writing documents is mainly to clarify their own ideas , Consider everything before developing code , Prevent code from being written in half , The situation that needs to be overturned and restarted occurs .
Of course , Many times, writing documents is really boring , So is there any good way , It can make document writing a little easier , The answer is to write an architecture diagram first . Because the document itself can be regarded as an architecture diagram + The format of the text .
1、 Write the architecture diagram first
Architecture diagram is the soul of software . After we get the software development requirements , The first step is to split the module 、 Process abstraction and interface design . You can find some suitable software to complete this part , such as visio、openoffice draw、processon Fine . All in all , As long as the goal can be achieved . For example, we write a website , Then you can draw a simple flow chart ,

2、 Add text to the flowchart
With the flow chart , Or after the architecture diagram , The next thing to do is to organize words to describe this figure . Which modules can this requirement be divided into , What is the function of each module , What is the relationship between modules , What is the commonly used framework , What usage habits do users have , This part can be written .
A lot of times , In order to avoid boredom , In the process of writing text, you need to add a directory 、 Revise history 、 For the reader 、 Noun abbreviation 、 form 、 The formula 、 Algorithm pseudocode 、 References . With these contents , You can enrich the document all at once . Explain one thing clearly , You can draw graphics from different angles , It's all right , Mainly to clarify the problem .
3、 The most important thing is the interface
Part of the algorithm , Generally, everyone will pay attention to . But the interface , Especially the interface of the module 、 Function interface 、 Interface of configuration parameters 、 Database interface 、 Network interface , This part often ignores . Nowadays, software development is getting bigger and bigger , Many times, not all functions can be completed by one person . therefore , For different people , In addition to knowing the position of your own development module in the whole software system , Another part is the software interface , Or module interface .
The module interface can be divided into two parts , First of all , What is the input of the module , What parameters are needed ; second , What is the output of the module , What functions can the module provide to others . In actual development , Also pay attention to the specific interface technology , yes 485、ethernet, still can, This depends on the specific environment .
4、 Documents must be read and kept fresh
The document is finished , It doesn't mean that it's over . In the follow-up, new software requirements are put forward , Or when software changes occur , Document update must be indispensable .0.1 edition 、0.2 edition , In this way, software documents need to be maintained and updated constantly . The longer the time , The reuse value of documents will be higher and higher , There is no need to push it down every time , Therefore, the opportunity for the corresponding developed code to be reused will be greater and greater . The corresponding software will become more and more robust , These are the inevitable results that will happen over time . In a word , This is the compound interest effect of time .
边栏推荐
- SAP self-development records user login logs and other information
- RHCSA5
- Difference between JUnit theories and parameterized tests
- MySQL splits strings for conditional queries
- Comprehensive upgrade of Taobao short video photosynthetic platform
- Le rapport de recherche sur l'analyse matricielle de la Force des fournisseurs de RPA dans le secteur bancaire chinois en 2022 a été officiellement lancé.
- MySQL giant pit: update updates should be judged with caution by affecting the number of rows!!!
- Transactions on December 23, 2021
- SAP SEGW 事物码里的导航属性(Navigation Property) 和 EntitySet 使用方法
- leetcode:221. 最大正方形【dp状态转移的精髓】
猜你喜欢

Laravel document reading notes -mews/captcha use (verification code function)

你的下一台电脑何必是电脑,探索不一样的远程操作

函数传递参数小案例

简单上手的页面请求和解析案例

Compilation principle reading notes (1/12)

uni-app开发语音识别app,讲究的就是简单快速。

Taobao order amount check error, avoid capital loss API

【云原生】Nacos中的事件发布与订阅--观察者模式

Super efficient! The secret of swagger Yapi

Put functions in modules
随机推荐
Halcon template matching actual code (I)
946. 验证栈序列
逆波兰表达式
Transactions from January 14 to 19, 2022
Kotlin function
#yyds干货盘点# 解决名企真题:搬圆桌
Notes for preparation of information system project manager --- information knowledge
Natural language processing series (I) introduction overview
你的下一台电脑何必是电脑,探索不一样的远程操作
【云原生】Nacos-TaskManager 任务管理的使用
由扫地增而引起的小叙
Insmod prompt invalid module format
How can non-technical departments participate in Devops?
Transactions from December 27 to 28, 2021
[cloud native] event publishing and subscription in Nacos -- observer mode
Hiengine: comparable to the local cloud native memory database engine
Detailed explanation of navigation component of openharmony application development
跨平台(32bit和64bit)的 printf 格式符 %lld 输出64位的解决方式
HiEngine:可媲美本地的云原生内存数据库引擎
Transactions on December 23, 2021