-
China Energy Storage Network:
At the Boao Forum, Zhu Min, the current dean of the National Institute of Finance at Tsinghua University, said: "When talking about blockchain, we must first sep...[Details]
-
In 1949, after three years of civil war, the Nationalist government was defeated and retreated to Taiwan. The political and academic circles launched a large-scale reflection on why they failed in ...[Details]
-
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
-
The code for using timer 0 to implement a running light in a 51 MCU is as follows. The LED light is connected to port P1. The code is annotated below, so I won't explain it in detail. My English is n...[Details]
-
Assume that the MCS-51 microcontroller uses a 12MHz crystal oscillator, and wants to use a timer to generate a pulse with a duty cycle of about 30% and a period of 60ms at port P1.0. ;==============...[Details]
-
Use P1.0 to output 1KHz and 500Hz audio signals to drive the speaker as an alarm signal. It is required that the 1KHz signal sound for 100ms and the 500Hz signal sound for 200ms, alternating between...[Details]
-
**File name: ds18b20.c **Description: Use the single bus DS18B20 temperature measurement program and display it on the LCD, taking three effective decimal places. Two integer parts. A total of 5 di...[Details]
-
HT47 Buzzer Application include ht47c20.inc data .section 'data' count1 db ? count2 db ? ;**************************** code .section at 0 'code' org 00h jmp start ;**************************** o...[Details]
-
/******************************************************** **This program is a clock program using LCM12832 as display. **P1 port is used as keyboard input P1.0 = increase key; P11 is selection key **...[Details]
-
China Energy Storage Network News:
Today, Baidu and China Southern Power Grid Guangdong Company signed a strategic cooperation framework agreement in Guangzhou and will jointly implement the ...[Details]
-
The interrupt method is used to realize full-duplex communication. This example uses two MEGA8515s, and the connection is: MISO----MISO MOSI----MOSI SCK ----SCK /SS ----/SS The function fill_tx...[Details]
-
The following is a C program for the DS1302 AVR microcontroller. The program structure is very good. However, the webmaster has not debugged the program for this AVR microcontroller. #define ds1302_r...[Details]
-
/******************************************************** The goal of this program is as follows: 1: Do not use the INTn interrupt function, the button is connected to the ordinary IO 2: The ti...[Details]
-
mega162 has the following features: 1. Dual USART; 2. Low power consumption, low operating voltage ; 3. Multiple I/O can be used as external interrupts, compared to M16 which only has 3 external i...[Details]
-
#include iom16v.h #include macros.h #define uint unsigned int #define uchar unsigned char #define ulong unsigned long /*------------------------------Display-------------------------...[Details]