-
The day before yesterday, I learned about STM's Systick and found it quite useful for precise timing. When I used CVAVR before, I found that the delay.h in it was very useful. So, I used STM32's...[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]
-
Analysts have sorted out some interesting phenomena. Let's follow the embedded editor to learn about the relevant content.
Huawei emerged as a star in the all-
flash
array sales ra...[Details]
-
In 2018, the National Development and Reform Commission issued a new photovoltaic subsidy policy. The benchmark on-grid electricity price was significantly reduced, the return on investment decreased,...[Details]
-
As a leading company in automotive semiconductors, Freescale and Khronos Group have jointly launched an automotive multimedia embedded microprocessor i.MX35 with an integrated OpenVG hardware acceler...[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]
-
When STM32 uses JTMS (PA13) and JTCK (PA14) as normal I/O ports, add the following code before initialization (the order cannot be reversed): RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); G...[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]
-
#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]
-
International Solar Photovoltaic Network News: On November 21, Australia's SMA Solar Technology Co., Ltd. signed a contract with the local government to provide photovoltaic inverters with an insta...[Details]
-
The STC12C5412AD microcontroller is an enhanced 8051 standard 51 series microcontroller. It is 12 times faster than the ordinary 8051 and can be programmed on a home computer without an emulator. ...[Details]
-
#include MSP430x12x2.h #define TEM_ADC_CHL 0x0a void InitSys(void); void Read_ADC(unsigned int INCH_channel); void ADC_TO_TEM(void); unsigned int ADC_sample_val; unsigned int long temp1,temp2;...[Details]
-
MSP430 uses ADC10 to measure the voltage of the temperature diode inside the chip #include "msp430x22x4.h" //This program uses ADC10 to measure the voltage of the temperature diode inside the chip ...[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]