当前位置:网站首页>Which language should I choose to program for single chip microcomputer
Which language should I choose to program for single chip microcomputer
2022-07-03 09:50:00 【Brother gun plays embedded】
When you understand that SCM is such a thing , The obvious problem comes out : Which language should I choose to program for single chip microcomputer ? This problem , It bothered me for a long time .
Specific options C51 still A51 Well ? Compilation didn't have a class before our sophomore year , Although looking at others' explanation , It is easy to understand the specific working conditions of the single chip microcomputer at every moment , But close the book or information , But I don't know anything , Needless to say, I write my own program .
therefore , I finally decided to learn C51, After all C51 And what we talked about in class C Language , Some similar , The idea of programming can be said to be interlinked . and C51 There is also a greater advantage is that the superiority of writing large programs is more self-evident , Of course at that time , I didn't think so far ,C51 Characteristics , Or in the later practice , Gradually realize ! Friend, if you choose C51, So please keep looking down , If you choose A51, Then you can stop reading ! Because the following is all about C Aspect , It's a complete waste of your time ! ha-ha .
The article is relatively long , More words , You can first open the avatar and pay attention to me , Then take your time ,/// Insert a : At the beginning of this year, I recorded a set of systematic introductory single chip microcomputer tutorial , If you want, just ask me for it. It's free , I can send a private message ~ Click the black font in the lower left corner of my avatar and I can also get it . I've been relatively idle recently , Take me to finish the design , Take students to provincial or above competitions ///
second , Since you want to learn SCM well , You must be willing to spend money , If you don't buy some chips and come back, you can weld and disassemble them yourself , Even if you hold a book every day , Turn that book upside down , I will never learn SCM ! A friend who just came into contact with SCM , Read the information , I will see more of the following words , But the specific outline The reading is still vague
Third , Want to learn the necessities of SCM --PC. Because writing programs , Compile or simulate through PC Accomplished . without PC, Nothing can be done !!! With PC It's better to be able to surf the Internet , Because if you don't have someone who can communicate with you , Encounter problems that you can't solve , I can't figure it out all the time , Then it is estimated that your enthusiasm for learning SCM will slowly run out with the passage of time . If you can surf the Internet through forums or groups , The problem will soon be solved . Such learning efficiency must be very high ! Real masters come from forums !
With the above 3 After a condition , You can start learning your SCM . however , It's really not as simple as I said . You will encounter many problems . For example, in order to make the single chip microcomputer realize a certain function , You may not know how to write a program . Or you understand a similar program on the data , You can't write it yourself . In a similar situation , remember : Don't rush , Just go !
I probably browsed some netizens about C Discussion of language , It seems that everyone is keen to discuss the advantages and disadvantages of different programming languages , The discussion was so happy that the questioner was completely put aside . Some Xiaobai's current situation can't be solved by recommending a good language to him , His current situation is ,C Language has just started , I haven't encountered anything particularly complicated , It's already begun “ It's boring to face the dialog every day ” 了 .
It doesn't take hard work to learn something ? Computer software is inherently complex , After changing other languages, you can be relaxed and happy, and you don't have to spend much effort to become a master ? Not necessarily ? from C There is nothing wrong with getting started with language , If you want to take the road of development , Just clench your teeth and study hard . If you can't stand this boring at the beginning , There will be many boring things in the future .
in addition , For netizens , I would like to add two more words : Computer education in China is very backward , I agree with that ; use C Language as an entry-level language as a sign of backward education , I totally disagree with that .
Some netizens mentioned that learning under the pure character interface is too boring , I would like to add a few words :
Language is just a tool , As long as the graphical interface is called API,C Language can also write windows , Can draw graphics , You can play music , Networking , Even if you want to use C Language tea , As long as there is corresponding API It's not impossible . But the problem is , When the basic programming skills are not solid , You learn a bunch of fancy API, In addition to being able to show off in front of people who don't know programming , What other uses can it have ?
Rely on several individual API call , It is really able to make some fun toys , But it's just a toy . and , The more complex things you make , The more boring things you need to face , To realize a useful software , There is only a lot more boring content to face than learning under the pure character interface .
As a computer professional ,C Language is a bastard , It is also necessary to learn well . however , Programming is not the patent of Computer Science in this world , The word "procedure" itself can also refer to the procedure of handling affairs, etc .
Friends interested in MCU can come to me , I recorded some introductory tutorials about MCU , If you need children's shoes, just ask me for them , Free of charge , Private confidence in me “ Miss Lin ” You can take ~ Click to open my avatar to receive
For people who are new to programming , I think the key is to learn to use Judgment and cycle To decompose problems and solve problems .c# and java They all provide a large number of class libraries , You don't need to write many algorithms , learn c Language write bubble sort in addition to letting you learn this algorithm , There is really no use , Database order by Just solve the sorting problem , If you use c Language really writes a better sorting algorithm , Then this belongs to the category of Mathematics , It's a science problem , You should publish papers directly instead of programming yourself .
Maybe there are more computer professionals here , Yes c Language is highly respected , I think this world is apart from computer programmers who write algorithms , What is needed is more glue programmers .
Okay , That's all for this issue , If you think it's helpful to you in front of the screen, please press one button three times
边栏推荐
- MySQL 数据库基础知识(系统化一篇入门)
- Quelle langue choisir pour programmer un micro - ordinateur à puce unique
- [CSDN] C1 training problem analysis_ Part IV_ Advanced web
- 【力扣刷题笔记(二)】特别技巧,模块突破,45道经典题目分类总结,在不断巩固中精进
- 【顺利毕业】[1]-游览 [学生管理信息系统]
- [CSDN] C1 training problem analysis_ Part II_ Web Foundation
- 我想各位朋友都应该知道学习的基本规律就是:从易到难
- Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 2 --blinker_ Hello_ WiFi (lighting technology - Mobile App control routine)
- STM32 interrupt priority management
- SSB Introduction (PbCH and DMRs need to be supplemented)
猜你喜欢
万字手撕七大排序(代码+动图演示)
[CSDN] C1 training problem analysis_ Part III_ JS Foundation
当你需要使用STM32某些功能,而51实现不了时, 那32自然不需要学
Directory and switching operation in file system
Fundamentals of Electronic Technology (III)_ Chapter 2 principle of amplification circuit__ Crystal triode and field effect triode
Comment la base de données mémoire joue - t - elle l'avantage de la mémoire?
NR technology -- MIMO
[male nanny style] teach you to open the first wechat applet
我想各位朋友都应该知道学习的基本规律就是:从易到难
Design and development of biological instruments
随机推荐
Solve editor MD uploads pictures and cannot get the picture address
How does the nr-prach receiver detect the relationship between prembleid and Ta
Vscode Arduino installation Library
Successful graduation [3]- blog system update...
Arduino handles JSON data, arduinojson assistant
2021-09-26
Getting started with shell programming
Development of fire evacuation system
Stm32-hal library learning, using cubemx to generate program framework
What do software test engineers do? Pass the technology to test whether there are loopholes in the software program
Starting from 0, use pnpm to build a demo managed by monorepo
Difference of EOF
Characteristics of PUCCH formats
Definition and use of enum in C language
Uncle Wang's blog directory [constantly updating]
Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 1 -- establishment of engineering template -template
Leetcode daily question (985. sum of even numbers after queries)
Install local sources using yum
Leetcode daily question (1024. video sticking)
IDEA远程断点调试jar包项目