summaryrefslogtreecommitdiff
path: root/n/es/src
diff options
context:
space:
mode:
authordalmais2005-04-17 13:55:56 +0000
committerdalmais2005-04-17 13:55:56 +0000
commit8017e62157b75f478b4358ab19ecc97daf921045 (patch)
tree61246d8192c5db8bb76702d345ef8743b8e0a394 /n/es/src
parent956ed7c81f1897c8adf308e35faa5ce5f38af7ba (diff)
fonction non terminée, autorisation des interruptions manquantes.
Mettre des validations sur rs232
Diffstat (limited to 'n/es/src')
-rw-r--r--n/es/src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/n/es/src/main.c b/n/es/src/main.c
index 9b9225e..bd2b80f 100644
--- a/n/es/src/main.c
+++ b/n/es/src/main.c
@@ -53,6 +53,8 @@ int main (void)
adc_init ();
sei ();
+ rs232_putc('I');
+
/// programme principal
while(1)
@@ -60,7 +62,8 @@ int main (void)
if(etat == 1)
{
etat = 0;
- TCNT1 = (65535L - ((20L*14745600L)/(1024L*1000L)));
+ // METTRE L'ACTIVATION DE L'INTERRUPTION
+ TCNT1 = (65535L - ((20L*14745600L)/(1024L*1000L))); // LE PASSER EN COMPARATEUR.
if(temp_sens != sens)
{
temp_sens = sens;