Now I want to pass the microcontroller pin as a parameter to the sub-function. There is no error when writing, but it does not work when executing.
This is how I write it:
sbit TX = P1^0;
void fun_1(u...
[i=s]This post was last edited by gh131413 on 2014-10-15 16:50[/i] I basically never leave my computer seat except to go to the toilet for 8 hours a day. I feel very anxious and short of breath. Then ...
Following the launch of the 5V power supply half-duplex RS-485 transceiver, Jinshengyang launched a new 3.3V power supply product - SCM3402ASI, which can achieve low power consumption and is an RS-485...
I just learned cc2430 point-to-point communication recently and encountered a problem. At the beginning of the point-to-point, the timer 1 interrupt is set, and then the timer 1 is run. The main funct...
Previously, EE saw a forum user share a solution for wireless charging of passive devices
I was interested, so I played the board.
After getting the coil board, I tested it
The results are as follows....
Traditional broadcasting systems generally need to be operated manually at a fixed time, and can only realize one-way broadcasting with few functions. Traditional bell ringing equipment has a singl...[Details]
Sailing is gaining more and more attention. How to use modern technology to assist training and improve competition results is particularly important. Considering the real-time data collection in t...[Details]
1. Circuit composition
The whole circuit consists of two parts:
1. Power saving control circuit
As shown in the figure below. Including delay circuit and drive circuit.
(1) Delay ci...[Details]
1. Introduction
With the growth of parking demand, the scale of parking lots is becoming larger and larger. A lot of research has been done on intelligent parking lots in China, but most of th...[Details]
0. Introduction
In daily life, we often see some special-purpose vehicles. When these vehicles pass through intersections, they often obtain the right of way at intersections by temporarily op...[Details]
Converged processors meet scalability requirements
In current embedded system design, solutions based on MCU, DSP, FPGA and ASIC account for more than 90% of the market share. These solutions ...[Details]
All electronic design engineers and scientists have performed electrical signal analysis, or signal analysis for short. Through this basic measurement, they can gain insight into signal details and...[Details]
Battery life is critical for portable applications. For applications such as smoke detectors, security devices, and thermostats, factory-installed batteries need to last for more than 10 years. The...[Details]
1. Introduction
At present, most lighting equipment still uses traditional energy for lighting. Making full use of solar energy as the energy supply for lighting equipment is of great si...[Details]
Overview:
This paper introduces a method of connecting a CAN-bus network with Ethernet to form a medium-sized remote monitoring/data transmission network.
CAN (Controller Area Network) is ...[Details]
Many battery-powered systems require a visual indicator to show when the battery needs to be replaced. LEDs are commonly used for this purpose, but they consume at least 10mA of current. This con...[Details]
0 Introduction
Ultrasonic waves
are mechanical waves with a frequency of more than 20KHz, and the propagation speed in the air is about 340 m/s (at 20°C). Ultrasonic waves can be gene...[Details]
introduction
At present, the research on micron and nanotechnology is very active, which has led to the rapid development of microtechnology and micro-mechanical electronic system (MEMS) t...[Details]
Every time I go home and walk up the stairs, I am always scared. The corridor lights are often broken, and no one changes the bulbs, or they are not smart enough and need to be operated manually. E...[Details]
LED is now known as the fourth generation of light sources. High-power LED has many advantages over traditional light sources in outdoor lighting.
1 LED lamps have high light efficiency
C...[Details]