当前位置:网站首页>51单片机进修的一些感悟
51单片机进修的一些感悟
2022-07-06 09:03:00 【大方老师嵌入式】
51单片机进修的一些感悟

1、51单片机的P0口很特别。
2、对51单片机的操作本质上就是对寄存器的操作,对其他单片机也是如此。库只是一个接口,方便使用者使用罢了。
在这里给大家分享一下进修51单片机心得体会:
1、我从不说51是根底,假如我这么说,也请把这句话了解为微机原理是根底。
2、对51单片机的操作本质上就是对寄存器的操作,对其他单片机也是如此。库只是一个接口,方便使用者使用罢了。
3、汇编语言在工作中很少用到,了解就好。
4、51单片机的P0口很特别。
5、C语言就是C语言,51单片机就是51单片机,算法就是算法,外围电路就是外围电路,传感器就是传感器,通信器件就是通信器件,电路图就是电路图,PCB图就是PCB图,仿真就是仿真。
当你以后再也不使用51了,C语言的知识还在,算法的知识还在,搭建单片机的最小系统的技能还在,传感器和通信器件的使用方法还在,还会画电路图和PCB图,当然也会仿真。
7、当程序调试不如人意的时候,静下心来好好查资料,51单片机最大的益处就是网上资料非常多,你遇到的问题别人肯定也遇到过。作为进修者,问人可能更方便点,但一直这样是造就不出攻克问题的才能的。
8、有些单片机初学者觉得看例程不好,觉得就即是看答案一样有罪恶感。其实对初学者来说,看例程了解例程再看例程的注解是最好的进修途径。做实验做课程设计做参赛作品的时候也是能够移植程序的,不须要自己重新实现。(当然教师布置的作业还是独立完成好)
但是,要清楚,移植程序不即是进修单片机,最重要的是知道例程是怎样的框架及实现方法。初始化了哪些寄存器,做了哪些引脚配置,调用了哪些函数,那些函数又是怎么实现的,设置了哪些中断,用到了哪些片上资源(UART、ADC等),查询了哪些状态,假如状态变化(触发事件)又会做些什么等等。由此整理出一个流程图并知道其实现方式,根本上这个例程就进修得差不多了。
零根底进修单片机切记这四点要求,少走弯路
其中一种,其它的都能够触类旁通,快捷上手了。假如你这些条件都没有,那就跟着我学吧,我建议你进修51单片机。为什么要进修51单片机:虽然此时单片机品种和型号非常多,每个型号都有一?
你是谁的黑板擦
边栏推荐
- 六月刷题01——数组
- [deep learning] semantic segmentation - source code summary
- May brush question 26 - concurrent search
- YARN组织架构
- 有软件负载均衡,也有硬件负载均衡,选择哪个?
- Redis core configuration
- 五月刷题26——并查集
- Vs All comments and uncomments
- Global and Chinese market of cup masks 2022-2028: Research Report on technology, participants, trends, market size and share
- Mapreduce实例(五):二次排序
猜你喜欢

英雄联盟轮播图自动轮播

Design and implementation of online shopping system based on Web (attached: source code paper SQL file)

Kratos ares microservice framework (II)

Segmentation sémantique de l'apprentissage profond - résumé du code source

小白带你重游Spark生态圈!

Compilation of libwebsocket

Detailed explanation of cookies and sessions

DCDC power ripple test

Une grande vague d'attaques à la source ouverte

Hard core! One configuration center for 8 classes!
随机推荐
The order of include header files and the difference between double quotation marks "and angle brackets < >
I2C summary (single host and multi host)
leetcode-14. Longest common prefix JS longitudinal scanning method
Blue Bridge Cup_ Single chip microcomputer_ Measure the frequency of 555
Global and Chinese market of bank smart cards 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for hardware based encryption 2022-2028: Research Report on technology, participants, trends, market size and share
五月刷题01——数组
[Chongqing Guangdong education] reference materials for nine lectures on the essence of Marxist Philosophy in Wuhan University
Blue Bridge Cup_ Single chip microcomputer_ PWM output
面渣逆袭:Redis连环五十二问,图文详解,这下面试稳了
Interview shock 62: what are the precautions for group by?
Mapreduce实例(四):自然排序
Redis cluster
小白带你重游Spark生态圈!
英雄联盟轮播图自动轮播
Solve the problem of inconsistency between database field name and entity class attribute name (resultmap result set mapping)
Cap theory
Global and Chinese markets for small seed seeders 2022-2028: Research Report on technology, participants, trends, market size and share
QML type: overlay
一大波开源小抄来袭