In msp430f149, the xin pin and xout pin are connected to the 8M crystal oscillator, but the 8M crystal oscillator cannot vibrate.
The procedure is like this
#include msp430x14x.h
void main(void) { uns...
Timer event (adding steps) 1. #define SAMPLEAPP_Timeing_MSG_DOOR 0xD1DE //#define SAMPLEAPP_Timeing_MSG_DOORTIMEOUT 5000 added by myself 2. Add this in the task processing function if (events & SAMPLE...
micro2440 timer interrupt, use timer 1, the corresponding port has no output. The following is the program segment //Interrupt IST DWORD TIMER_IST(LPVOID lpParameter) {DWORD dwRes = 0; BOOL bRes = 1; ...
One of the problems I encountered here is that I don't know how to determine whether a dll has been loaded by the system. My own idea here is: 1. Print the serial port debugging information. If the in...
I have a handheld device running WINCE. After turning on the GPRS module, I can browse the web. Now I want to use this GPRS module to send and receive information. What else do I need to do? Are there...
External interrupts can enter the interrupt program by sending a pulse to the I/O port. Timer interrupts can enter the timer interrupt program when the time is up. I would like to ask what kind of tri...
Emergency hand-held lamps powered by 6V maintenance-free batteries are widely used in rural areas. The charger used is a transformer step-down and single diode half-wave rectifier, and the charging...[Details]
At present, the development of wireless power supply technology for electric vehicles (EVs) is becoming more and more active. In 2012, Volvo of Sweden established Volvo Technology Japan in Tokyo as...[Details]
Microchip's PIC18F46J50 is a low-power, high-performance 8-bit USB microcontroller (MCU) using nanoWatt XLP technology. The current in deep sleep mode can be as low as 13nA, the operating voltage i...[Details]
At present, the traffic congestion in cities is quite serious. According to relevant news reports: In China, the traffic congestion has expanded from megacities such as Beijing, Shanghai, and Guang...[Details]
Automotive applications are particularly sensitive to EMI events, which are unavoidable in a noisy electrical environment consisting of a central battery, bundled wiring harnesses, various inductiv...[Details]
In order to highlight the concept of "energy saving and environmental protection" of intelligent buildings, solar street lights are designed for intelligent communities. The inclination and capacit...[Details]
Two simple circuits are implemented to drive two LEDs from a battery powered microprocessor.
This design is based on a circuit that uses three resistors and a microprocessor I/O pin as an input h...[Details]
Although it is relatively easy to check the stability of a simple amplifier at lower frequencies, it may be much more difficult to evaluate the stability of a more complex circuit. This artic...[Details]
From the PIC16F946 datasheet, we know that there are two ways to write values to the LCD for display:
1. Directly write the value to LCDDATA1~LCDDATA23
2. Use disconnect t...[Details]
Microcalorimetry
is used to determine energy relationships. Microcalorimetry techniques are often required when performing calorimetric experiments with small sample sizes or slow heating rat...[Details]
1. Introduction to CIF Board
Fieldbus integration based on PC system
Whether it is a master or a slave, fieldbus has won unanimous praise in the field of PC-based automation. For more...[Details]
1 Introduction
There have been many studies on the detection and protection of power grid short circuit and line fault. The short circuit, overload and overvoltage protectors on the market have ...[Details]
Single-chip microcomputers are widely used because of their small size, powerful functions and low price. This article introduces the method of designing a micro electronic piano using the AT89C51 sin...[Details]
Problems such as the depletion of natural resources, air pollution, traffic congestion, and rising fossil fuel prices have forced societies and individuals to seek alternative means of transportati...[Details]
Motors, especially those with brushes, generate a lot of noise. This noise must be dealt with if the appliance is to meet the requirements of EMC standards. The means to solve EMC are nothing more ...[Details]