AVR MCU Tutorial - How to use this tutorial

This tutorial is one yuan (meta-tutorial) - Other tutorials to teach you how to use AVR microcontroller, this tutorial teaches you how to use this tutorial series.

 

Our tutorial has finished the LED board, but should not just teach you how to use the LED. You should already know:

Microcontroller Microcontroller is English, mainly for control purposes, which integrates a memory;

SCM model we use is ATmega324PA, it is Atmel's 8-bit AVR microcontroller architecture, Atmel Microchip company now owned by the company;

main ()  function can not write  return  statements, if you do not write, equivalent to  () main  final function  return 0  ;

Compiled in Debug mode program to be more than the Release Under some debugging information, performance will be slightly worse, but more convenient debugging;

delay ()  function itself is accurate, but with time running other code, program the actual running time is always a little longer than expected;

In order to avoid duplication of code, the same code can be in different parts into output segments, and then traverse the array;

uint8_t  limit type is 255, the plus one, it becomes 0;

hex format is a representation of binary information in ASCII characters per line began colon, after all hexadecimal number;

The  rand ()  Result of modulo n can be [0, n-1] a random integer in the range;

……

So much content, in a previous tutorial are related to, but, you know what?

 

Preface it said before, SCM involves all aspects, but also need to try and practice. SCM learning, not to see the tutorial, knocked on the code that you can learn.

"Arduino Although there are a wealth of tutorials, numerous third-party modules and libraries," What specifically? Go to Taobao to see;

"10-bit ADC" "74HC595" "555 timer", what are some? Baidu to look at;

"Atmel Studio 7.0 (referred to as the AS7), is ......" hyperlinks, the points go to see;

"Input mode represents a high-impedance state," what a high impedance state that? "After downloading the library is not directly used for" programs and libraries What is the relationship? From step by step how to convert C code 0 and 1? "Power can not let the ripple program can not run away" by what power Moire is? Generally how much? How much is good? Program running what will happen? What are the manufacturers of microcontrollers easy runaway?

……

These are issues that the learning process can think of. If you think, you do not understand, access, understand, your level would be increased. As this series of tutorials, just to show you the way of it.

 

Come on!

 

Guess you like

Origin www.cnblogs.com/jerry-fuyi/p/11342348.html