-
1 Introduction
In measurement and control systems and engineering applications, it is often necessary to perform multiple tasks at the same time. Therefore, the master-slave multi-machine distr...[Details]
-
At present, single-chip microcomputers have been widely used in home appliances, medical treatment, instrumentation, industrial automation, aerospace and other fields. The more popular types of s...[Details]
-
Crash process basic concept: Link register LR: When calling a subroutine, it automatically stores the address to be returned next time, which is actually the address of the function that was most...[Details]
-
This article systematically describes how to use the PIC16F877 microcontroller to realize the intelligent control of a touch-type dimming desk lamp, achieving (1) touch dimming; (2) filament prehea...[Details]
-
In the previous routines of running lights, we are used to "bits". One bit is the on and off of a light, but the instructions we learned are all introduced with "bytes": byte movement, addition, subt...[Details]
-
The Puzhong development board used here, the experimental content timer 5 input capture channel 1 high level duration. Software implementation method: Timer 5 mainly uses two functions: ①Time b...[Details]
-
Some misunderstandings about microcontrollers:
Because traditional teaching methods are rigid, which is related to China's teaching system. But this is not effective teaching. Based on my own exper...[Details]
-
Today I will explain "STM32F103 SPI master-slave communication". I originally planned to explain this part later (the second stage) to meet a netizen's question "About SPI communication between two M...[Details]
-
1. Structure 1. TMR1 can be used as a general timer and counter, and can also use the built-in low-frequency time base oscillator to realize the real-time clock RTC function; through the use of TMR...[Details]
-
Design Thoughts The Bootloader is responsible for detecting whether there is a BIN file required for the firmware update in the SD card. If the required BIN file is detected, it will start copyin...[Details]
-
1.7.1. What is a digital tube? 1.7.1.1. Several aspects of digital tubes (1) Appearance (2) Function: Digital tube is a display device used to display numbers. It is mostly used in industrial occ...[Details]
-
1. Introduction to Android 1. What is Android: Android is a free and open source operating system based on Linux, mainly suitable for mobile devices such as smartphones and tablets. It is led and dev...[Details]
-
/**********(一)Timer A comparison mode*************/ int main( void ) { WDTCTL=WDTPW+WDTHOLD; //Turn off watchdog BCSCTL1 =CALBC1_1M Hz ; //Set DCO to 1MHZ DCOCTL =CALBC1_1MHZ; P1DIR |= BIT0; ...[Details]
-
/************************************************** *Program name: MAX7219 C language control program *Program function: 3-wire serial control of 8-bit common cathode digita...[Details]
-
Turning interrupts off and on
Interrupt is an efficient dialogue mechanism, but sometimes you don't want to interrupt the program during execution, such as when printing something.
, but ...[Details]