I tried to use Yahei font under wince, the code is as follows AddFontResource(_T("\\storage card\\msyh.ttf")); HANDLE hFont, hOldFont; LOGFONT lf; memset(&lf,0,sizeof(LOGFONT)); lf.lfHeight = 24; lf.l...
[i=s]This post was last edited by xinmeng_wit on 2022-4-4 20:19[/i]1. Introduction to temperature sensor DS18B20The DS18B20 single-wire digital temperature sensor, also known as a "one-wire device", h...
Design an electronic reminder that can set more than 5 reminder events. Events can be represented by some codes. The maximum reminder event can be set to 1 year and the minimum is 10 seconds. There sh...
[b][color=black]In recent years, as LED technology matures, LED light sources are increasingly widely used due to their advantages of using low-voltage power supply, low energy consumption, strong app...
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[Details]
Serial Port: 一. USART_ITConfig(USART1, USART_IT_TXE, ENABLE): As long as the transmit register is empty, there will always be an interrupt. Therefore, if you are not sending data, turn off the tran...[Details]
From the functional classification, it can be divided into: 1. Active control ADAS: ACC/AEB/LKS, etc. 2. Warning ADAS: FCW/LDW/PCW, etc. 3. Other auxiliary ADAS: BSD/ADB/panora...[Details]
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
Ouster LiDAR OS-1 (left) and OS-2 (center) Velodyne invented the modern 3D LiDAR scanner in the mid-2000s, but in recent years conventional wisdom has held that Velodyne’s design — 64 lasers mounted...[Details]
Use the STM32 timer input capture module to control 3-way ultrasonic sensors. The ultrasonic sensor used this time is the common HC-SR04, which is often used in the obstacle avoidance system of smal...[Details]
Table of contents: 1 Overview 2: Common interrupt functions 3: PWM output 1 Overview In development, timers are widely used, which can be simply summarized into three aspects: 1.1: Application of ...[Details]
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
At the early morning of November 17th, Beijing time, at the Global Supercomputing Conference held in Denver, the United States, the "nonlinear earthquake simulation" application completed by the te...[Details]
About a dozen years ago,
AMD
was also a rival to Intel. It can be said that the two microprocessor manufacturers have been in love and hate for many years, which is completely a commercial ...[Details]
China Energy Storage Network News
: On January 26, the second theme maker camp "Energy Internet Town" of the "Xiongdian Acceleration Maker Space" of the Xiong'an New Area Power Supply Company...[Details]
The Arctic region has always been cut off from the outside world, and if oil workers and polar expedition personnel are in danger, they need
robots
to provide rescue work.
Sergey...[Details]
The following are several programming examples for driving the buzzer under S3F9454/9444 for reference. A. The first one is the ordinary IO high and low level driving method ...[Details]
On June 25 this year, in Guangzhou, at an energy forum held by British oil giant BP Group, Zhao Daiqing, a researcher at the Guangzhou Institute of Energy Conservation of the Chinese Academy of Sci...[Details]