#includeiostream
using namespace std;#define SQUARE(a) ((a)*(a)*(a))
#define SQL(a) ((a)*(a))int main(void)
{int a = 5, d = 5, e = 5;int b = 0;int c = 0;int f = 0;c = SQUARE(d++);b = SQUARE(++a);
f = ...
[i=s]This post was last edited by paulhyde on 2014-9-15 09:20[/i] I want to make a single-chip minimum system recently. I don't know whether I should buy a development board or solder it myself. It sh...
[i=s]This post was last edited by okhxyyo on 2015-7-17 13:25[/i] {:1_143:}Thank you all for your active participation. The first PCB appreciation activity of [Waiting for you to complain - take a look...
I have a Freescale FreeLink mini board, and the Freelink driver has been installed successfully. I installed IAR FOR ARM, and configured it according to the manual, but I cannot debug. I found that th...
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]
System design is a complex process. It is not enough to just use ICs. There are many details to consider. This article uses a high-fidelity music playback system as an example to introduce how to s...[Details]
1 Introduction
With the acceleration of the pace of urban modernization, society has higher requirements for urban road lighting and urban lighting projects. The state has clearly required tha...[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]
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]
This week, Microsoft held its 2012 Microsoft Worldwide Partner Conference (WPC) in Toronto, Canada. At the conference, Microsoft showed its new products and services to partners around the world. A...[Details]
12v Lead Acid batteries used in trucks, cars, RVs and uninterruptible power supplies are usually rated at 12V. This circuit monitors the battery, the charge and discharge curves, gives the cu...[Details]
In the "digital pressure measurement" experimental device of applied physics, the subject technical knowledge of analog circuits, digital circuits, sensors and single-chip microcomputers is used. In o...[Details]
introduction
Steam turbines are driven by high-temperature and high-pressure steam generated by boilers to run at high speed. They are key power equipment in thermal power plants. The emergenc...[Details]
As the global LED market demand continues to increase, my country's LED industry will face huge opportunities in the future. However, the core LED technology and patents are basically monopolized b...[Details]
People who often surf the Internet until late at night, their families always complain that turning on the big lights in the living room affects their rest, but some people don't have keyboard ligh...[Details]
Infrared remote control is widely used in home appliances, but the remote controls produced are not compatible with each other. The universal remote controls commonly seen on the market can only co...[Details]
1 Introduction
CAN (Controller Area Network) bus is a kind of field bus. It is used in many industrial sectors due to its outstanding advantages such as high performance, high reliability, high...[Details]
(1) Open circuit voltage of the battery
(2) Internal resistance of the battery
(3) Battery operating voltage
(4) Charging voltage
Charging voltage refers to the voltage applied ...[Details]
Single-chip microcomputer is the abbreviation of single-chip microcomputer. It is made by integrating CPU, ROM, RAM, TIMER/COUNTER and input/output interface (I/O) on a large-scale integrated circu...[Details]