-
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[Details]
-
Chip: STM32F107VCT6 Application Pin: THOUSANDS, RMII STM32CubeMX is very convenient to use ETH. The software comes with LWIP and configuration. This time, STM32F107VCT6+DP83848CVV is used. The MII a...[Details]
-
The adoption rate of serverless
cloud
computing
is gradually increasing, but it has not yet reached people's expectations. Various surveys show that serverless
is
still
an eme...[Details]
-
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[Details]
-
When Amazon quietly launched a product called Elastic Computing Cloud 12 years ago, the Internet industry in China, across the ocean, also ushered in an unprecedented development opportunity. Let's...[Details]
-
sprintf is a function in the C language library that converts data types. There is a situation where In 51 MCU, define unsigned char temp; Then I want to use the serial port to print out temp in deci...[Details]
-
ADC Introduction: ADC (Analog-to-Digital Converter). That is, converting analog signals into digital signals for processing. When storing or transmitting, analog-to-digital converters are almost ...[Details]
-
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
-
Note: This STM32 microcontroller is the STM32F103 series. The ADC of Stm32 has DMA function. This is beyond doubt and is what we use most! However, if we want to sample a signal (such as a pulse sign...[Details]
-
6MHz crystal oscillator, using timer counter 1, using interrupt mode, through P1.0 to make a light emitting diode turn on for 100ms, turn off for 300ms, and repeat. Assembly programming is used to ac...[Details]
-
Design a second and minute pulse generator for a single-chip microcomputer using the interrupt method. Assume that P1.0 generates a positive pulse of one machine cycle per second, and P1.1 generates ...[Details]
-
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
-
#include #include "DS1302.h" #include void ds1302_init(void) { PORTX=0x00; DDRX=0x07; } void write_ds1302_byte(unsigned char dat) { unsigned char i; for(i=0;i 8;i++) { ...[Details]
-
#include "MSP430x22x4.h" #define uchar unsigned char #define uint unsigned int #define comm 0 #define dat 1 #define sclk_1 P4OUT|=0x01 //sclk=1; 001----p4.0 #define sclk_0 P4OUT&=0x06 //sc...[Details]
-
The Arctic region has always been cut off from the outside world, and if oil workers and polar expedition personnel are in danger, they need
robots
to provide rescue work.
Sergey...[Details]