We learn MCS51 single-chip microcomputer and AVR MCU, or PIC microcontroller, or MSP430 MCU, whether it feels that he can become an engineer? I'm here to say what I think.We learn these single-chip computer, the first study of theoretical knowledge, this is generally the theoretical knowledge of books, such as the introduction of the development of single-chip microcomputer, the application of single-chip microcomputer, the principle of single-chip mi
Question: give n (
Manhattan distance: We all know that the Manhattan distance between a (XA, Yb) and B (XB, Yb) in the two-dimensional coordinate system is ABS (xA-xB) + ABS (ya-Yb );
We can see that this distance is related to X and Y, but x and y
HDU 4311Test instructions: There are n points on the plane, one point (x, y) can only reach (X-1,y), (X+1,y), (×, y-1), (x, y+1) 4 points. Find a point from N points to minimize the sum of the distance from the other point to this point.Ideas:It can
This question has a certain skill, need to calculate the meaning of a point in the time complexity of nlog (N), N-1 points to the distance between the sum, here need to use such a technique, calculate the distance from X and Y separately. First,
Bit operationOne common task is to program the microcontroller MCU to enable or disable some bit of the IO register. Fortunately, standard C has good and applicable bit operation functions, without the help of assembly instructions or other
When we use 128 as the Ultrasonic Ranging module, there are always some gaps in the values, and the values are not stable enough.
Check the program. The timer should start when the timer is started, rather than when the terminal is enabled.
But
Note the following:
Although the I/O port irrigation current can reach 20 mA (VCC = 5 V), 10 Ma (VCC = 3 V ), but must follow:
Tqfp and MLF Encapsulation
1] The total number of all ports cannot exceed 400.2] fill current sum of port A0-A7, G2, C3-C7,
Function Description:
LCD1602 LCD display year, month, day, hour, minute, second, week, temperature, three buttons control time and date adjustment and alarm settings.
Three buttons:
1. "school Hour" key, adjust the second, minute, hour, week,
I used to want to use the compiler to write the MCU's C code, what the compiler did to help us. How the compiler allocates variables and code. So just idle to see what the compiler's installation path is. The ICCAVR compiler and Atmel Atmega64 are
JDK1.7, tomcat 7.0.39, and openssl installation 0.9.8
Operating System win7
Command line:
1. Generate the CA private key and self-Signed root certificate
① Generate the CA private key
Openssl genrsa-out F: \ CA \ ca-key.pem 1024
② Generate the root
Tags: tools picture INF official Development Board benefit area x64 shareIn summary, Eclipse Cdt,toolchain uses AVR Libc, as well: A, AVR Eclipse plugin plugin, b, make, RM and other shell command line tools, C, avrdude, to download the program to the microcontroller.This essay is divided into 2 parts, the first part is the software installation and setup steps, the second part establishes a demo project, a
Just getting started with Arduino, very good.
Arduino ide I used version 0022 at the beginning, and its editor was really uncomfortable. I didn't prompt that auto-completion was not completed. Because I have been using eclipse for development, I am looking for a solution.
My board is Arduino uno ..
According to the official method, there is no result ....
According to the arduino.tw method, there is no result...
Finally, I finally found a way to solve the problem. The following describes the co
very rich and there is a huge amount of development resources for learning, for beginners like Xiao Zhu, It is very suitable as a starting point.
A wide range of external devices (clock, relay switch, digital voice, etc)
However, the 80C51 series provides a simple editor with relatively low performance (generally 12 MHz clock, enhanced performance up to 22 MHz, and each instruction requires an average of 12 clock cycles) weak I/O port capabilities, lack of effective software encryption,
Linux AT90S8515 Single-Chip GCC programming lighting experiment documentary-Linux general technology-Linux programming and kernel information, the following is a detailed reading. Watching the Light Emitting Diode flash, I'm so happy. Success! For a newbie, this is the first time that we will never forget.
......
I have heard of avr in the csdn forum and downloaded programming and other things. When I searched for related information online, I found a
Recently, I intend to customize an Arduino board, change the Arduino's burn-write mechanism. Fortunately, bootloader are active code, say dry, before rewriting of course to try this source can compile, but to the bootloader directory is dazed .... Actually use is makefile, but as a program ape of course can't retreat ...1. Find bootloader Source codeBootloader source code are in the \arduino-1.6.9\hardware\arduino\avr\bootloaders folder, different mic
Source: http://blog.sina.com.cn/s/blog_4935209001012eax.htmlSite location: HTTP://WWW.FREEMODBUS.ORG/INDEX.PHP?LANG=CNDocument Location: http://www.freemodbus.org/api/index.htmlFirst, the introduction of Freemodbus is the implementation of Modbus protocol on the embedded processor. including Avr,pic,win32 and so on platform. It is an open source code that can be used for commercial purposes. It implements theModbus Rtu/ascii, TCP three transmission mo
the algorithm. Combined with the AVR assembly language, it implements the Advanced Data Encryption Algorithm AES.
1. AES encryption and decryption algorithm principles and AVR implementation
AES is a group key. The algorithm inputs 128-bit data and the key length is also 128-bit. The number of rounds encrypted by a data group using NR (the relationship between the number of encryption rounds and the key l
recommendationHttp://www.gnuarm.com /~ Lpc2000/body.html-Foreign Languages9. GNU arm? Toolchain for cygwin,LinuxAnd MACOs. RecommendedHere is its practical resource http://www.gnuarm.com/resources.htmlDiscussion Group http://groups.yahoo.com/group/gnuarm/File Download http://www.gnuarm.com/files.htmlHttp://www.gnuarm.com/-Foreign Languages10. armuc wiki. A large number of development materials are strongly recommended.Http://www.open-research.org.uk/ARMuC/-Foreign Languages11. A large number of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.