1. AVR documentation requires that you do not interrupt nesting. You can only execute this interrupt and execute the next interrupt.
2, ADC sampling, the external presence of pull-up 51K case, open circuit, the measured voltage is 5V (working voltage is 5V), indicating that the input impedance of mega88 is quite large Haha;
3, SREG status register, SEI, CLI is to open the global interrupt, off the global interrupt (also thought there is no contact), _NOP, _WDR;
4. When using VolaTIle (unstable) AVR global variables (to avoid the editor's optimization)
5. If unused IO ports are left unconnected, 1 is that the power consumption is in a state of judgment; 2 is that a little interference from the outside world may become an input signal of repeated oscillation (interference problem);
6, push-pull structure, the output can not be directly grounded (high current burn tube);
7, clear PC (Program counter) an important position;
8. The single-chip microcomputer has low output impedance and high input impedance; // The input impedance is considered as the load;
9, AVCC no analog comparator, have to connect VCC.
10. When the microprocessor executes an instruction, it divides it into the following steps:
Take instructions - instruction decoding - take operands - perform operations - return results.
11, statement, it is equivalent to determine a container name container content (equivalent to data), the container has an address (equivalent to * P pointer name P)
Understand the function, the parameters of the array passed to declare the parameters used *buffer is generally used is & buffer
The analogy declaration a introduces the data is generally 2;
As an industry-leading motion control expert, Kassel AC Servo Drive has made outstanding contributions to many strategic partners in shortening "Time to Market", reducing costs, and improving overall machine performance and competitiveness. At the same time, we have also won wide recognition in the industry in terms of servo solution research and development concept, system architecture and service concept.
Ac Servo Drive,Ac Servo Motor Controller,Servo Motor Driver,Servo Motor Control System
Kassel Machinery (zhejiang) Co., Ltd. , https://www.kasselservo.com