1. Introduction to interruption
The code is mainly distributed in the firmware library
Here we first
Some basic concepts of port interrupt.
Can be used as an external interrupt
Interrupt input port, which is also true
The power of.
Added by yousaf931 on Tue, 21 Sep 2021 00:43:53 +0300
Note: the model of this single chip microcomputer is STC15F2K60S2
As shown in the figure, light emitting diodes L1-L8 are in common positive connection, and VCC is the positive pole of power supply, with high level. It is known that the LED is on in the forward direction and off in the reverse direction. In order to make the diode l ...
Added by Cogen on Mon, 20 Sep 2021 23:29:51 +0300
1, Experiment 1 programming ideas
Use the serial port debugging assistant to print out and receive data Serial port receiving and sending (characters are sent in the serial port assistant. Set the number of hexadecimal display to be numbers)
Overall idea: 1. Enable RX and TX pins GPIO clock and USART clock; 2. Initialize GPIO and multiplex GP ...
Added by visualed on Mon, 20 Sep 2021 05:44:43 +0300
ADC is widely used in the project. ADC and DAC are digital / analog converters. But I don't use much DAC, because I usually use sensors to detect external analog quantities, and then convert them into digital quantities for data processing and application, such as temperature and humidity sensors, inductors, black-and-white tra ...
Added by cfemocha on Wed, 08 Sep 2021 20:11:13 +0300
. input float
Input and pull-up
. input drop-down
. analog input
. open drain output
Push pull output
Push pull multiplexing function
. open drain multiplexing function
IO port basic structure:
Input float Input pull-up The three input drop ...
Added by iwanpattyn on Thu, 02 Sep 2021 21:16:15 +0300