-
Now that we know the registers related to the timer, let's make a timer program to consolidate what we have learned. Our program in this class will first use timer 0. When using a timer, the followi...[Details]
-
The keyboard circuit is the most commonly used human-machine interface in the single-chip microcomputer application system, and often occupies more I/O ports. Now there are some keyboard circuits tha...[Details]
-
The time slice round-robin scheduler is used for time slice round-robin scheduling as function OS_SchedRoundRobin(), This function is called by OSTimeTick or OS_IntQTask() and is defined in the fil...[Details]
-
This article will introduce some optimization techniques that can help designers save up to 10% of code space, allowing limited program memory to support more new features and patches.
Good ...[Details]
-
1. System Overview The modules used in the system include AT89C51 microcontroller + LCD1602 display screen + photoelectric switch + button + small light + buzzer. This design uses 51 microcontrolle...[Details]
-
I am a beginner, a PIC beginner, but I have been in the microcontroller business for many years. To be honest, the C development environment is similar, except that burning and online simulation are ...[Details]
-
1. Introduction to OLED Organic Light-Emitting Diode (OLED), also known as organic laser display or organic light-emitting semiconductor, was discovered by Chinese-American professor Ching W. Tang in...[Details]
-
1.static Static is generally not used in the main function. It is mostly used in interrupt functions and encapsulated sub-functions. Its function is to ensure that the variables defined in the sub-f...[Details]
-
The four I/O ports P0, P1, P2, and P3 are used as general IO ports and are all quasi-bidirectional ports. That is, before being used as input (read pin), the IO port must be set to 1 to cut off the...[Details]
-
In my spare time, I have summarized various delay programs in the C language of single-chip microcomputers. Since it is not easy to achieve accurate timing using software delay in the C language o...[Details]
-
Single-chip microcomputer is a very practical subject. At present, there are many problems in the classroom and experimental teaching of single-chip microcomputer. On the one hand, the experimental...[Details]
-
The program status word PSW is an 8-bit register used to store the status information of the program running. The status of each bit in PSW is usually automatically formed during the execution of ins...[Details]
-
;/*****************************************************
;* Title: LED desk lamp program*
;* File: LED desk lamp PWM control with infrared remote control.asm *
;* Date: 2008-12-18 *
...[Details]
-
Due to insufficient IO ports, it is necessary to reuse JTAG as an IO port and retain the SWD function to debug the program. The settings are as follows: GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGD...[Details]
-
When using GCC to develop ARM, you will definitely encounter compiler problems. For example, you will encounter various warnings and errors when compiling C code. For example, I encountered several...[Details]