What is computer programming for?Computer programming was the process of letting a computer solve a certain problem on behalf of a certain computing system. The computing system would operate according to the calculation method and finally obtain the corresponding result. It was the process of communication between humans and the computing system. Humans would tell the computer the ideas, methods, and means to solve the problem in a form that the computer could understand, and let the computer work step by step according to the instructions to complete specific tasks. Through programming, developers could create software, websites, applications, and even control hardware devices.
" When a programmer meets a psychologist " is equally exciting. Everyone is welcome to click to read it!
Computer programming software for schoolsIn school, C was often used as an entry-level programming language, and related programming software, such as Microsoft-based Visual Studio, could be used to program in C. In addition, the PC version of the Code Cat (v3.5.1, the latest official version, 54.66mb) could also be used as a programming learning software. There was also the Independent Group Computer Program Assistant (6.9mb, green version), which could also be used for programming learning. If it was to learn how to program a PC, the GX Developer of Mitsui could be used to program the FX-series (such as FX3S, etc.), the GX-Works 2 could be used to program the Q-series and L-series, the GX-Works 3 could be used to program the iQ-R/iQ-L/iQ-F series, the SIEMENS 'step7- microWIN SMART could be used to program the S7 - 200 smart, and the TIA Potu software (such as V15, V16, V17, etc.) could also be used for related programming. For Python programming, there were tools such as the VS editor, Visual Studio Code (v1.72.1 Chinese Free Version, 47.53MB), which could be used for programming learning. However, different schools might choose different programming software according to their curriculum and teaching needs.
"A Short History of the Future: Legends of the Intelligent Era" was equally exciting. Everyone was welcome to click and read it!
single-chip computer programming tutorialThe following is a basic tutorial written on a single-chip computer:
##1. Initial preparations
1. ** Choose the model of the single-chip computer and the development board **
- According to your learning goals and interests, you can choose models suitable for beginners such as the 51 single-chip processor and STM32. Buy a development board that contains the model of the selected single-chip computer, and prepare the necessary accessories, such as USB to serial port module, LED lights, buzzers, etc.
2. ** Installs the Integrated Development environment **
- For example, 51 MCUs may use Keil, and STM32 may use STM32 CubeID.
3. ** Driver configuration **
- According to the requirements of the development board, the necessary drivers were installed. For example, the development board that uses ST-Link requires the ST-Link driver to be installed. The specific operation may include inserting the driver into the computer, opening the computer device manager to check if the installation was successful, and so on.
##2. Learning to program
1. ** Basic programming **
- Learn how to write and compile a single-chip computer program using the IDE. This included understanding programming languages. Single-chip processors usually used C or assembly language for programming. Beginners were advised to start with C. Familiarize yourself with the operation interface of the IDE, such as how to create a project, how to add source files, etc.
2. ** Simple experimental programming **
- He started writing programs from simple experiments, such as lighting up LED lights, controlling the sound of the buzz, and so on. These simple experiments helped to understand the basic operation of the single-chip computer. To light up the LED lights as an example, you need to understand the settings of the general input and output port (CPU) of the single-chip computer. You need to control the level state of the pins through programming to achieve the lighting or extinguishing of the LED.
- When writing code, you must follow the programming specifications and grammar requirements of the selected single-chip computer. For example, in the C language, one had to correctly define variable types, functions, etc.
3. ** Advanced experimental programming **
- As his understanding of the single-chip computer deepened, he tried more complicated experimental programming, such as using ADC (Analogy to Digital Conversion) modules to read the simulated signal, using Pulse width Modulation (Pulse width Modulation) to control the motor speed, and so on. This required a deeper understanding of the other functional modules of the single-chip computer, such as the programming application of timers, interrupt systems, etc.
##3. Search for Tuors and Resources
1. ** Online tutorial **
- Find online tutorial and videos about MCUs on platforms such as Bilibili and CSPD blog. These courses and videos might include basic to advanced programming knowledge, real-life case studies, and so on.
2. ** Book Learning **
- Read classic books about single-chip processors, such as "51 Single-Chip Computer Development from Entry to Proficiency","STM32F10x Series Arm Cortex-M3 Microcontroller Development Guide", etc., to obtain more systematic and in-depth programming knowledge from the books.
##4. Practicing Program
1. ** Project Design **
- Try designing a small project, such as using a microchip to control a smart home device or making a simple robot. When designing a project, one had to plan the functional requirements, hardware selection, software architecture, and so on.
2. ** Project Realization **
- Translate the design into an actual product, write the corresponding program code to realize the project function, and test and debugged it. In this process, various problems may be encountered, such as hardware circuit connection problems, program logic errors, etc., which need to be solved by debugging tools and methods. For example, he could use the single-chip computer's interface to set breakpoints and view variable values in the IDE.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Interesting .. a girl withmind blowing computer programming skills ...I seems to enjoy it .. but nt much ability to get coins it seems to complete it in long time