-
In recent years, as energy consumption and environmental protection issues have attracted people's attention, my country's solar photovoltaic power generation industry has shown a rapid development...[Details]
-
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[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]
-
As photovoltaic power stations come into people's view, people are paying more and more attention to them. Recently, some netizens asked me how to match the inverter and components of photovoltaic ...[Details]
-
At the beginning, I used the stdlib library. Recently, I found that the cube library is more and more widely used, so I started to use the cube library to complete the ADC multi-channel acquisition e...[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]
-
Proteus simulation circuit diagram C language program #include absacc.h #include reg52.h #define DA0832 XBYTE #define uchar unsigned char #define uint unsigned int ...[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]
-
The following comes from - "cortex-M3 Definitive Guide" Special function register group: Program Status Registers (PSRs or xPSRs) Interrupt mask register group (PRIMASK, FAULTMASK, and BASEPRI) ...[Details]
-
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]
-
#include avr/io.h void Delay(unsigned int T) { unsigned int i,j; for (i=0;i T;i++) for (j=0;j 100;j++) asmvolatile ("nop"); //Assembly instruction, let the microcontroller run empty instruction...[Details]
-
With the development of electronic devices, more and more people pay attention to flexible electronic devices, which refer to electronic devices that can still work under certain deformation condit...[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]
-
China has become the world's largest demander of
industrial robots
, with a stable market development. Automobile and parts manufacturing are still the main application areas of industrial
...[Details]
-
em78c156e+1621 shows assembly example ; XS1621 ,3.58,OUT 20001 /6/22 INDI EQU 0X0 RT CC EQU 0X1 PC EQU 0X2 STATUS EQU 0X3 FSR EQU 0X4 PORT5 EQU 0X5 PORT6 EQU ...[Details]