This is my program, I don't know where the problem is? Please help me find it.
#define uint unsigned int
#define uchar unsigned charsbit wr=P3^6;
sbit rd=P3^7;
sbit dl=P2^6;
sbit wl=P2^7;
code unsigne...
1Harvard University , USA2Stanford University, USA3California Institute of Technology, USA4University of California, Berkeley , USA5University of Cambridge , UK6Massachusetts Institute of Te...
I made a small program to search for every decimal in the decimal array, and then calculate the number of digits after the decimal point for each decimal, and finally output the maximum number of digi...
The clock oscillator circuit is used to generate the clock signal required for the normal operation of the microcontroller. The 51 series microcontroller can use two types of clock oscillator circuits...
Event: The company simultaneously released its 2017 annual report and the first quarter report of 2018. In 2017, the company achieved revenue of 8.886 billion yuan, a year-on-year increase of 48.01...[Details]
On April 24, Sungrow released its annual financial report. The report shows that in 2017, Sungrow's global shipments reached 16.5GW, of which domestic shipments reached 13.2GW, a year-on-year incre...[Details]
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]
In the actual project development process, it is common to encounter modifications to the hardware circuit, and then the modified part requires the modification of the driver. Thinking about the comi...[Details]
When the domestic discussion about "ZTE being banned" was hot, Alibaba officially announced the acquisition of chip supplier
Zhongtianwei
, but the investment amount was not disclosed. At t...[Details]
I have been working on this i2c for several days. Many people on the Internet say that this is a problem with the ST package library, and they basically talk about the STM32F1 series of chips, and ev...[Details]
1. Initial understanding of FSMC: FSMC consists of 4 modules: (1) AHB interface (including FSMC configuration register) (2) NOR flash memory and PSRAM controller (when driving LCD, LCD is like a PSRA...[Details]
Recently, the relevant person in charge of the Energy Conservation Division of the Energy Conservation and Technology Equipment Department of the National Energy Administration said on the issue of...[Details]
This program mainly uses the comparison output function of the timer to generate PWM waves to control the LED. The comparison output of timer A corresponds to P2.3 P2.4. Therefore, a matching working...[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]
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]
At the beginning of the new year of 2018, after the release of the national photovoltaic policy, we found that the state’s support for village-level poverty alleviation power stations has not weake...[Details]
1 Introduction Due to the special working environment of coal mine production, the production process is more dangerous and unsafe than the general industry. With the continuous increase in c...[Details]
1. Brief description A summary of "How to build uClinux kernel transplantation on ARMSYS development board with S3C44B0X as core", including the analysis of Bootloader function and the key co...[Details]