rev 17/05/2024
Test Modification d'une Table de
programmation Horaire
Selection d'une table parmi 10 ...via SW2/SW3
Validation par appui long SW1L
Selection d'une Heure (sur 24 Heures)...via SW2/SW3 . via SW1L (appui
long > 1sec)
Selection du contenu via SW1....... via appui successif sur SW1 (<1sec)
00=> mode ECO sur 1H,
01=Mode CONFORT puis ECO sur 2em demi heure
02=Mode ECO puis CONFORT sur 2em demi heure)
03= Mode CONFORT sur l'heure entiere
....possibilite ensuite de choisir une autre heure (SW2/SW3)
et finaliser par SW4L -> memo en eeprom et retour à affichage
LCD repos
00228 00229 # 00230 Duree = 2525 mS , BP=0X10, Menu= 4 SW4 MENU4 via SW4L #SW4b) Modif. Program Horaire # choix valid. Modification_Programmation_Horaire. PStep=1 Decodage Table #2:DOMUS>R # Select. Progr. #3 => M PStep=2 #Select. Progr. #4 => R PStep=2 #Select. Progr. #5 => A PStep=2 #Select. Progr. #6 => J PStep=2 # Select. Progr. #7 => P PStep=2 #Select. Progr. #8 => T PStep=2 #Select. Progr. #9 => V PStep=2 # Select. Progr. #10 => W PStep=2 #Select. Progr. #2 => D ?? PStep=2 #Select. Progr. #3 => M PStep=2 #Select. Progr. #4 => R PStep=2 # Select. Progr. #5 => A PStep=2 # <SW1L> Modif. Programe #5 =>(A) Charge Table Progr selectionnee dans Table Progr.Provisoire HStep=1 # Hsel=1 # Hsel=2 # SW1 modif Heure 2 progr=1 # SW1 modif Heure 2 progr=2 # SW1 modif Heure 2 progr=3 # SW1 modif Heure 2 progr=0 # SW1 modif Heure 2 progr=1 # Hsel=3 # Hsel=4 # SW1 modif Heure 4 progr=1 # SW1 modif Heure 4 progr=2 # SW1 modif Heure 4 progr=3 # Sauve Table Programmation_Horaire Prg:A @Eeprom 0x 1E0 i=0 @Eeprom 0x 1E0 -> 0 i=1 @Eeprom 0x 1E1 -> 0 i=2 @Eeprom 0x 1E2 -> 1 i=3 @Eeprom 0x 1E3 -> 0 i=4 @Eeprom 0x 1E4 -> 3 i=5 @Eeprom 0x 1E5 -> 0 i=6 @Eeprom 0x 1E6 -> 0 i=7 @Eeprom 0x 1E7 -> 3 i=8 @Eeprom 0x 1E8 -> 3 i=9 @Eeprom 0x 1E9 -> 3 i=10 @Eeprom 0x 1EA -> 3 i=11 @Eeprom 0x 1EB -> 3 i=12 @Eeprom 0x 1EC -> 3 i=13 @Eeprom 0x 1ED -> 0 i=14 @Eeprom 0x 1EE -> 0 i=15 @Eeprom 0x 1EF -> 0 i=16 @Eeprom 0x 1F0 -> 0 i=17 @Eeprom 0x 1F1 -> 0 i=18 @Eeprom 0x 1F2 -> 0 i=19 @Eeprom 0x 1F3 -> 3 i=20 @Eeprom 0x 1F4 -> 3 i=21 @Eeprom 0x 1F5 -> 3 i=22 @Eeprom 0x 1F6 -> 0 i=23 @Eeprom 0x 1F7 -> 0 i=24 @Eeprom 0x 1F8 -> 65 i=25 @Eeprom 0x 1F9 -> 77 i=26 @Eeprom 0x 1FA -> 105 i=27 @Eeprom 0x 1FB -> 100 i=28 @Eeprom 0x 1FC -> 105 i=29 @Eeprom 0x 1FD -> 62 i=30 @Eeprom 0x 1FE -> 87 i=31 @Eeprom 0x 1FF -> 0 Sortie Menu 4 00231 00232 valeurs en rouge= modifs.. Programme MPLAB XC8 |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |