当前位置:网站首页>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

边栏推荐
- Runtime.getRuntime().gc() 和 Runtime.getRuntime().runFinalization() 的区别
- [combinatorics] Introduction to Combinatorics (context of combinatorics | skills of combinatorics | thought of combinatorics 1: one-to-one correspondence)
- SSB Introduction (PbCH and DMRs need to be supplemented)
- Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 4 --blinker_ DHT_ WiFi (lighting technology app control + temperature and humidity data app display)
- 【順利畢業】[1]-遊覽 [學生管理信息系統]
- CEF download, compile project
- Chromium Embedded Framework (CEF) 介绍
- [successful graduation] [1] - visit [student management information system]
- 开学实验里要用到mysql,忘记基本的select语句怎么玩啦?补救来啦~
- 手机都算是单片机的一种,只不过它用的硬件不是51的芯片
猜你喜欢

Characteristics of PUCCH formats

Fundamentals of Electronic Technology (III)_ Chapter 2 principle of amplification circuit__ Crystal triode and field effect triode
![[graduation successful] [1] - tour [Student Management Information System]](/img/91/72cdea3eb3f61315595330d2c9016d.png)
[graduation successful] [1] - tour [Student Management Information System]

Arduino handles JSON data, arduinojson assistant

Global KYC service provider advance AI in vivo detection products have passed ISO international safety certification, and the product capability has reached a new level
![[CSDN]C1训练题解析_第四部分_Web进阶](/img/ee/2e9756cc0e2e6eda83e1b2304c0bd6.png)
[CSDN]C1训练题解析_第四部分_Web进阶

Vector processor 9_ Basic multilevel interconnection network
![[CSDN] C1 training problem analysis_ Part IV_ Advanced web](/img/ee/2e9756cc0e2e6eda83e1b2304c0bd6.png)
[CSDN] C1 training problem analysis_ Part IV_ Advanced web

单片机现在可谓是铺天盖地,种类繁多,让开发者们应接不暇

內存數據庫究竟是如何發揮內存優勢的?
随机推荐
[graduation successful] [1] - tour [Student Management Information System]
STM32 serial port usart1 routine
[male nanny style] teach you to open the first wechat applet
Jestson nano custom root file system creation (supports the smallest root file system of NVIDIA Graphics Library)
MySQL的简单使用(增删改查)
Leetcode daily question (2232. minimize result by addressing parents to expression)
All processes of top ten management in project management
端午节快乐!—— canvas写的粽子~~~~~
Fundamentals of Electronic Technology (III)__ Fundamentals of circuit analysis__ Basic amplifier operating principle
QT qcombobox QSS style settings
Directory and switching operation in file system
Project cost management__ Cost management technology__ Article 6 prediction
Global KYC service provider advance AI in vivo detection products have passed ISO international safety certification, and the product capability has reached a new level
Nr-prach: access scenario and access process
一个可执行的二进制文件包含的不仅仅是机器指令
Uncle Wang's blog directory [constantly updating]
Leetcode daily question (1024. video sticking)
Runtime.getRuntime().gc() 和 Runtime.getRuntime().runFinalization() 的区别
Nr-prach:prach format and time-frequency domain
Stm32-hal library learning, using cubemx to generate program framework