function gps; sDataPath = 'D:\s\'; sDataFile = dir(sDataPath); %sDataPath is the path where you store the dat data file m = length(sDataFile); k = 0; for i = 1:m if sDataFile(i).isdir continue; end k ...
The M4 development board has been tested by five users and all of them performed very well!Considering that some trial users were delayed in using the M4 due to exams or business trips during the tria...
Sometimes, because there is no circuit diagram, but the industry I am engaged in is at least related to electronics, I always like to take it apart to have a look or adjust it. Sometimes, I get shocke...
[i=s] This post was last edited by paulhyde on 2014-9-15 04:06 [/i] We are working on a smart shuttle car for an electric competition. The interrupts used have priorities. The motor drive has a lower ...
Drifting pushes us into solitude and into an absolute vision:We are pushed into a state where all we have left isOurselves and our language.——Joseph Brodsky (USA) In the autumn of 1998, I moved from t...
The trade war between China and the United States has become the focus. The United States has begun to play the ban card against Chinese technology companies. The ZTE incident shows that if the ban...[Details]
Because the STM32 HAL library only has millisecond-level delay for HAl_Delay(), in order to achieve accurate microsecond-level delay, Systick has to be modified. However, since it is used internally ...[Details]
From last year to now, competition in the photovoltaic inverter industry has become increasingly fierce. In addition to the introduction of new products, various marketing and promotion methods hav...[Details]
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[Details]
Different from 51, AVR and other single-chip microcomputers, the clock signal sources of msp430 include LFXT1, XT2 and DCO. 1. LFXT1: It can connect high-speed and low-speed crystal oscillators. In l...[Details]
STM32 uses FSMC to read and write CPLD programs. CPLD is hung on the address line and data line of STM32. CPLD is regarded as an off-chip RAM for reading and writing. On the board I made, CPLD is hun...[Details]
The implementation of CAN driver under embedded operating system Android requires not only adding CAN driver device in Linux kernel, but also implementing the call of Android HAL layer. Taking S5...[Details]
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
1. What is PWM What is PWM? Professionally speaking, it is pulse width modulation. In layman's terms, it is the continuous output of high and low levels. For example, the microcontroller outputs...[Details]
;Question: The 80C51 single-chip microcomputer has a fosc = 6MHz. It is required to use the T1 timer working mode 1 to perform a timing of 40ms. And P1.7 periodically outputs a rectangular wave with ...[Details]
Using AT89S51 microcontroller, modify the original one to turn the LED on for 4s and off for 2s. Thank you. Use a timer. (The program is written in the answer, omitted here - just a note) The origi...[Details]
Assume that the MCS-51 microcontroller uses a 12MHz crystal oscillator, and wants to use a timer to generate a pulse with a duty cycle of about 30% and a period of 60ms at port P1.0. ;==============...[Details]