-
introduction
With the continuous development of electronic technology and the continuous upgrading of medical equipment, the demand for medical liquid infusion precision is becoming increasing...[Details]
-
Specific implementation functions
(1) Based on the principle of infrared sensors, two buttons are used to replace the entry detection infrared sensor and the exit detection infrared sensor. Pr...[Details]
-
source code:
ORG 0000H
LJMP MAIN
ORG 0030H
MAIN: MOV 30H,#01H
MOV 31H,#02H
MOV 32H,#03H
MOV 33H,#04H
MOV 34H,#05H
MOV P0,#8FH
DIS1: MOV R0,#30H...[Details]
-
source code:
#include reg52.h
#include intrins.h
#define LcdDataPort P2
typedef unsigned char u8;
typedef unsigned int u16;
sbit Busy = P2^7;
sbit R...[Details]
-
source code:
#include "reg52.h"
#include "intrins.h"
#define u8 unsigned char
#define u16 unsigned int
u8 code table = {0x3f,0x06,0x5b,0x4f,
0x...[Details]
-
This course is about IIC bus related knowledge and how to use single chip microcomputer to simulate IIC bus and communicate with AT24C02 chip.
Key points of content:
1 Introduction to IIC...[Details]
-
Specific implementation functions
(1) In the east-west direction, the right turn and straight ahead light is green for 20 seconds, and the left turn light is red; in the north-south direction,...[Details]
-
1. How to distinguish between active and passive crystal oscillators?
In terms of appearance: As shown in Figure 1 below: Passive crystal oscillators generally have t...[Details]
-
2.1 Knowledge of MMU
The code of Loop.c is:
The code of Loop.c is:
The results of running the last two programs are:
We see that the addresses in both programs...[Details]
-
1. ARM chip type
1. ARM Classification
(1) ARM classification type (chip | core | instruction architecture)
ARM Category:
-- ARM chip type: 6410, 2...[Details]
-
1 The role and working principle of watchdog
1.1 The role of watchdog
When an embedded control system receives external interference or system errors during operation, the program may "ru...[Details]
-
Installation environment: Win7 + VirsualBox + Ubuntu 12.04 (32bit) + ok6410
1. Download Jlink for Linux
1. Website: http://www.segger.com/jlink-software.html, download the correspon...[Details]
-
1. Program optimization
Modify Makefile
Copy the mmu code in main.c to mmu.c and modify it as follows
Modification of main.c
Since MMU is gener...[Details]
-
1. Jump to C code
Because the code in memory comes from the stepping stone SRAM, they are identical.
This is done using an absolute jump.
Because we are jumping from assembly code to...[Details]
-
1. Reviewing the ARM startup process, you will know that code migration is required
2. Code migration
1) Starting point: NAND FLASH, today's starting point is SRAM stepping stone. Why? Be...[Details]