-
1. Problem When developing STM32 with IAR, I found that I could not print floating point numbers by redirecting printf to the serial port. The code is as follows: The output is as follows: It can...[Details]
-
1. Development Environment 1. Applicable chips: All STM32F4 chips 2. Firmware library: STM32F4xx_DSP_StdPeriph_Lib_V1.8.0 3,IDE:MDK517 2. Driver source code Delay.h File /**...[Details]
-
What is SYSTICK: This is a 24-bit system tick timer, SysTick, with automatic reload and overflow interrupt functions. All microcontrollers based on the Cortex_M3 processor can obtain a certain time ...[Details]
-
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[Details]
-
Homemade LED Electronics Clocks can be seen in many electronic newspapers and magazines, but most of them need to reset the time and other parameters after power failure, which brings a lot of inco...[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]
-
China Energy Storage Network News:
The Global Energy Internet Seminar, jointly organized by the Global Energy Internet Development Cooperation Organization and the Royal Academy of Engineerin...[Details]
-
In this example, a single-byte binary number (0X20) is converted into uncompressed BCD code and stored in 0X25, 0X24, and 0X23, where 0X25 is the hundreds place and 0X23 is the ones place. main: MOV ...[Details]
-
Infrared remote control is the most widely used remote control method. Infrared remote control devices have the characteristics of small size, low power consumption, strong functions and low cost. Th...[Details]
-
msvr3 turns on (`-msvr4') or off (`-msvr3') compiler extensions related to System V fourth edition (SVr4). The effects are as follows: * Which assembly syntax to output (you can select this ...[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]
-
//ICC-AVR applICation // Target : M8515 // Crystal: 4.0000MHz #include iom8515v.h #include macros.h void port_init(void) { PORTA = 0x00; DDRA = 0x03; PORTB = 0x00; DDRB = 0x70; PORTC = 0x00;...[Details]
-
Communication rules: 1: Clock 7.3728 MHz / Baud rate 9600 / 9 data bits / odd parity / 1 stop bit / hardware multi-machine communication function / 2: Communication connection uses hardware...[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]
-
On September 12, the "Artificial Intelligence Summit Forum" hosted by the China Artificial Intelligence Society and co-organized by NetEase Technology, NetEase Intelligence, NetEase Local, Jiangnan...[Details]