Attachment 'mod_delay.tex'
Download 1 \section[{Module Delayms}]{\label{ID_DELAYMS}Delayms}
2 Routine qui génère un retard en ms
3
4 Auparavant il faut définir la valeur de la fréquence du quartz
5 \begin{verbatim}
6 #define FOSC_HZ 20000000
7 #include <delayms.h>
8 \end{verbatim}
9
10 \subsection{delayms}
11 La fonction génère un retard en millisecondes :
12
13 void delayms(unsigned int retraso);
14
15 \subsection[{Exemple de DelayMs}]{ \label{ID_EJEMPLODELAYMS}Exemple de DelayMs}
16
17 pour compiler vous avez besoin des commandes suivantes : ~
18 \begin{verbatim}
19 Exemple de compilation :./compila.sh ej\_delay 16f877a
20 \end{verbatim}
21 ej\_ delay.c
22 \verbatiminput{source/ej_delay.c}
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.