-
Dong Yang, executive vice president of the China Association of Automobile Manufacturers, said on the 26th that according to the authorization of the Ministry of Industry and Information Technology...[Details]
-
1. Principle 1. Infrared emission protocol There are many infrared communication protocols. This experiment uses the NEC protocol. This protocol uses PWM modulation and uses pulse width to represen...[Details]
-
Today, under the guidance of a low-level expert, I learned how to configure the PWM module! Woof! First open the file configured last time, as follows: Then, we need to use TIM1 to set PWM: Then,...[Details]
-
Superconductors have physical properties such as zero resistance effect, Meissner effect and Josephson effect, which make them have broad application prospects and unparalleled advantages in many b...[Details]
-
Recently, the National Development and Reform Commission announced that all foreign equity restrictions in the automobile industry will be lifted in the next five years. At the same time, as subsid...[Details]
-
Code: void TEST(volatile near unsigned char* IO,unsigned char n,BOOL value) { unsigned char a; unsigned char b; a=*IO; b=0x01; b=b n; if(value) { *IO=a | b; } else { b=~b; *IO=a & b; } } PIC stru...[Details]
-
#include "MSP430x44x.h" void init_UART(void); void uart_start(void); void uart_send(void); void uart_receive(void); unsigned char RXDATA_BUF ,TXDATA_BUF ={0xbd,0x77,0x3d,0xc5,0xc6,0xf5,0x68,0x0d...[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]
-
/* Code adapted from Atmel AVRApplICation Note AVR306 * Interrupt mode driver for UART. */ #include io8515.h #include macros.h #include "uart.h" /* IMPORTANT: these vector numbers are for 8515! If yo...[Details]
-
We often need to set an I/O port as output, input, or input with pull-up. In fastavr, this is how it works: Example: Set the entire A port as output: ddra=255 'Decimal representation, the single qu...[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]
-
//Software generates PWM to control DC motor C program //Software version: ICCAVR ver 7.05 // Target: M48 // Crystal: 8.0000MHz #include iom48v.h #include macros.h unsigned int Pwmw; unsigned int ...[Details]
-
The Ministry of Industry and Information Technology issued the "Three-Year Action Plan for Promoting the Development of the New Generation of
Artificial Intelligence
Industry (2018-2020)" (...[Details]
-
Today, let's talk about how to receive indefinite length byte data on the STM32 microcontroller. Since the STM32 microcontroller has an IDLE interrupt, this interrupt can be used to receive indefinit...[Details]
-
Driven by the "Made in China 2025" action plan and the "Industry 4.0" concept, the automotive industry, as a key area for implementing intelligent manufacturing, is actively trying new flexible manuf...[Details]