<root>
<document schema='101' license='1,LYCEE-ARAGON69-V6,W6BYKN' title='' description='' target='PIC.16F.16F88' >
	<config data='!0,2f08!10,3ffc%0,0%2,0%3,1%5,0%6,0%7,0%8,1%9,3%b,1%c,0%d,1%10,0%11,0' clkspd='32768' simspd='4' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='19' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='A0' />
		<watch expr='A1' />
		<watch expr='A2' />
		<watch expr='A3' />
		<watch expr='false' />
		<watch expr='true' />
		<watch expr='AM_PM' />
		<watch expr='BAR' />
		<watch expr='DCY' />
		<watch expr='TEMPS' />
		<watch expr='ET_BATT' />
		<watch expr='DEC_APREM' />
		<watch expr='DEC_MATIN' />
		<watch expr='Jour_total' />
		<watch expr='INIT' />
		<watch expr='Jour' />
		<watch expr='V_INIT' />
		<watch expr='COMPT' />
		<watch expr='MICROSWITCH' />
		<watch expr='R_Heure' />
		<watch expr='V_stock' />
		<watch expr='TEMPS_2' />
		<watch expr='V_test' />
		<watch expr='V_test2' />
		<watch expr='V_test3' />
		<watch expr='V_test_mot' />
		<watch expr='COMPT_BAR' />
	</debug>
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='5087' />
			<data name='CalculatedCommsDelay' value='5087' />
		</ICD>
		<pins >
			<digital A='31' B='159' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='64' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='3baad8df-9c3d-4ba6-a5cc-30b62b4de1f9' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties >
				<property name='Aquisition cycles' target='pot_color_cap1::actime' typeid='14' hidden='0' locked='0' info='Number of micro seconds to wait for the ACD input to charge before starting the analogue sample.' />
			</properties>
			<values >
				<value target='pot_color_cap1::actime' data='40' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='BAR' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TEMPS_2' type='u16' description='durée led' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ET_BATT' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Jour_total' type='u16' description='200/8 = 25cycles = 300s ()1600' isconst='0' isinit='1' usrinit='900' setinit='900' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V_INIT' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MICROSWITCH' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='R_Heure' type='s16' description='5s  (2 min = 120s jtotale) r_h 120/24= 5s par heure' isconst='1' isinit='1' usrinit='67' setinit='67' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEC_MATIN' type='s16' description='' isconst='0' isinit='1' usrinit='24' setinit='24' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AA' type='b1' description='AA valeur intermédiaire de comparaison' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEL' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BB' type='b1' description='COMPT 2 ( DETECTEUR FRONT MONTANT 2)' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='COMPT_BAR' type='u8' description='front montant bouton avance rapide' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buz' type='b1' description='buzzer' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='INIT' type='u8' description='état initialisation' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEC_APREM' type='s16' description='DECALAGE POUR PARVENIR 0 L HEURE DU CHANGEMENT DE JOUR' isconst='0' isinit='1' usrinit='12' setinit='12' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='codeur' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V_test3' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V_test2' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='A3' type='b1' description='+4' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DCY' type='b1' description='Enclanche horloge' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='A2' type='b1' description='+2' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='COMPT' type='u8' description='COMPT = COMPT + ( AA &lt; B2 )' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='A1' type='b1' description='+8' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AM_PM' type='b1' description='matin/soir' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='A0' type='b1' description='1' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V_test' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TEMPS' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V_test_mot' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Jour' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='DEFILEMENT_BANDE' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='1' exp='MICROSWITCH' />
						<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='1' />
						<command class_type='delay' title='Pause' cmdcolor='7895044' cmdcolor_sec='7895044' exp='500' type='1' />
						<command class_type='comment' title='' comment='Non nécessaire intialisation de la position du moteur au début du programme' textmode='1' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='loop' title='Boucle' textarea='269,0,269,0' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='MICROSWITCH = 0' >
							<flowline >
								<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='1' exp='MICROSWITCH' />
								<command class_type='call' title='Appel de la Routine Composant' cmdcolor='1975743' cmdcolor_sec='1975743' component='motor_simple1' macro='Start' />
							</flowline>
						</command>
						<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='0' />
						<command class_type='call' title='Appel de la Routine Composant' cmdcolor='1975743' cmdcolor_sec='1975743' component='motor_simple1' macro='Stop' />
						<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='1' exp='MICROSWITCH' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ET_BATTERIE' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='32' exp='1' />
						<command class_type='call' title='Lecture tension ' cmdcolor='1975743' cmdcolor_sec='1975743' component='pot_color_cap1' macro='GetInt' >
							<return exp='ET_BATT' />
						</command>
						<command class_type='decision' title='Décision (((2.7 - 2.5)/2.7) * 1023)) = 76' cmdcolor='3568629' cmdcolor_sec='3568629' exp='ET_BATT &lt; 76' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='TEMPS_2 = 0' />
								</command>
								<command class_type='loop' title='Boucle' textarea='231,-7,231,-7' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' exp='5' >
									<flowline >
										<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='2' exp='1' />
										<command class_type='delay' title='Pause' cmdcolor='7895044' cmdcolor_sec='7895044' exp='500' type='1' />
										<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='2' exp='0' />
										<command class_type='delay' title='Pause' cmdcolor='7895044' cmdcolor_sec='7895044' exp='500' type='1' />
										<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='8' exp='1' />
										<command class_type='delay' title='Pause' cmdcolor='7895044' cmdcolor_sec='7895044' exp='500' type='1' />
										<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='8' exp='0' />
										<command class_type='delay' title='Pause' cmdcolor='7895044' cmdcolor_sec='7895044' exp='500' type='1' />
									</flowline>
								</command>
								<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='TEMPS_2 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='2' exp='0' />
								<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='8' exp='0' />
							</flowline>
						</command>
						<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='32' exp='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='DEC_MATIN' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrée' textarea='36,-9,36,-9' cmdcolor='3610239' cmdcolor_sec='3610239' mode='2' port='1048576' mask='15' exp='codeur' />
						<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='DEC_MATIN=24' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='V_INIT = (DEC_MATIN - 1) * R_Heure' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Décision' textarea='66,2,66,2' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='V_INIT = (DEC_MATIN - 2) * R_Heure' />
											<exp exp='' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 3' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='V_INIT = (DEC_MATIN - 3) * R_Heure' />
													<exp exp='' />
													<exp exp='' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 4' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='V_INIT = (DEC_MATIN - 4) * R_Heure' />
															<exp exp='' />
															<exp exp='' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 5' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='V_INIT = (DEC_MATIN - 5) * R_Heure' />
																	<exp exp='' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 6' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																			<exp exp='V_INIT = (DEC_MATIN - 6) * R_Heure' />
																			<exp exp='' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 7' swap='0' >
																			<flowline >
																				<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='V_INIT = (DEC_MATIN - 7) * R_Heure' />
																					<exp exp='' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 8' swap='0' >
																					<flowline >
																						<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																							<exp exp='V_INIT = (DEC_MATIN - 8) * R_Heure' />
																							<exp exp='' />
																						</command>
																					</flowline>
																					<flowline >
																						<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 9' swap='0' >
																							<flowline >
																								<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																									<exp exp='V_INIT = (DEC_MATIN - 9) * R_Heure' />
																									<exp exp='' />
																								</command>
																							</flowline>
																							<flowline >
																								<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 10' swap='0' >
																									<flowline >
																										<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																											<exp exp='V_INIT = (DEC_MATIN - 10) * R_Heure' />
																											<exp exp='' />
																										</command>
																									</flowline>
																									<flowline >
																										<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 11' swap='0' >
																											<flowline >
																												<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																													<exp exp='V_INIT = (DEC_MATIN - 11) * R_Heure' />
																													<exp exp='' />
																												</command>
																											</flowline>
																											<flowline >
																												<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 12' swap='0' >
																													<flowline >
																														<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																															<exp exp='V_INIT = (DEC_MATIN - 12) * R_Heure' />
																															<exp exp='' />
																														</command>
																													</flowline>
																													<flowline />
																												</command>
																											</flowline>
																										</command>
																									</flowline>
																								</command>
																							</flowline>
																						</command>
																					</flowline>
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DEC_APREM' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrée' textarea='36,-9,36,-9' cmdcolor='3610239' cmdcolor_sec='3610239' mode='2' port='1048576' mask='15' exp='codeur' />
						<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='DEC_APREM initialisée à 12' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='V_INIT = (DEC_APREM - 1) * R_Heure' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Décision' textarea='66,2,66,2' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='V_INIT = (DEC_APREM - 2) * R_Heure' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 3' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='V_INIT = (DEC_APREM - 3) * R_Heure' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 4' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='V_INIT = (DEC_APREM - 4) * R_Heure' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 5' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='V_INIT = (DEC_APREM - 5) * R_Heure' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 6' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																			<exp exp='V_INIT = (DEC_APREM - 6) * R_Heure' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 7' swap='0' >
																			<flowline >
																				<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='V_INIT = (DEC_APREM - 7) * R_Heure' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 8' swap='0' >
																					<flowline >
																						<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																							<exp exp='V_INIT = (DEC_APREM - 8) * R_Heure' />
																						</command>
																					</flowline>
																					<flowline >
																						<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 9' swap='0' >
																							<flowline >
																								<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																									<exp exp='V_INIT = (DEC_APREM - 9) * R_Heure' />
																								</command>
																							</flowline>
																							<flowline >
																								<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 10' swap='0' >
																									<flowline >
																										<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																											<exp exp='V_INIT = (DEC_APREM - 10) * R_Heure' />
																										</command>
																									</flowline>
																									<flowline >
																										<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 11' swap='0' >
																											<flowline >
																												<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																													<exp exp='V_INIT = (DEC_APREM - 11) * R_Heure' />
																													<exp exp='' />
																												</command>
																											</flowline>
																											<flowline >
																												<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='codeur = 12' swap='0' >
																													<flowline >
																														<command class_type='comment' title='' comment='Jour_total = (DEC_APREM - 12) * R_Heure
DEC_APREM = 12-12 = 0 * R_heure' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
																														<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
																															<exp exp='V_INIT = 0' />
																															<exp exp='' />
																														</command>
																													</flowline>
																													<flowline />
																												</command>
																											</flowline>
																										</command>
																									</flowline>
																								</command>
																							</flowline>
																						</command>
																					</flowline>
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TIMER2' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='TEMPS_2 = TEMPS_2 + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='INIT_MOT' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='1' exp='MICROSWITCH' />
						<command class_type='loop' title='Boucle' textarea='350,4,350,4' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='MICROSWITCH = 1' >
							<flowline >
								<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='1' />
								<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='1' exp='MICROSWITCH' />
							</flowline>
						</command>
						<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='0' />
						<command class_type='comment' title='' comment='moteur tourne jusqu&apos;à ce que ferme microswitch état ouvert 
' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TIMER' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='TEMPS = TEMPS + 1' />
						</command>
						<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='TEMPS_2 = TEMPS_2 + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Initialisation sorties

del 
moteur
buzzer 
' textarea='81,14,81,14' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='output' title='(Sortie) DEL' textarea='36,-11,36,-11' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='2' exp='0' />
						<command class_type='output' title='(Sortie) MOTEUR' textarea='58,-2,58,-2' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='0' />
						<command class_type='output' title='(Sortie) BUZZER' textarea='64,2,64,2' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='8' exp='0' />
						<command class_type='output' title='Sortie' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='32' exp='0' />
						<command class_type='comment' title='' comment='1/0.016Hz=62.5s (Période)' textarea='36,-2,36,-2' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='comment' title='' comment='Active high bouton 

état bas 

état bas considéré comme fermé (came positionnée sur la microswitch)
' textarea='46,0,46,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='interrupt' title='TIMER' textarea='49,4,49,4' cmdcolor='3610239' cmdcolor_sec='3610239' enable='1' name='TMR1' call='TIMER' >
							<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='2' />
								<option value='0' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='1' exp='MICROSWITCH' />
						<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='MICROSWITCH = 0' swap='0' >
							<flowline >
								<command class_type='call' title='INIT_MOTEUR_POSITION' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DEFILEMENT_BANDE' />
							</flowline>
							<flowline />
						</command>
						<command class_type='loop' title='Boucle (départ cycle) et réglage roue codeuse et bouton avance' textarea='353,-1,353,-1' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='COMPT = 1' >
							<flowline >
								<command class_type='input' title='(Entrée) BOUTON AVANCE RAPIDE' textarea='36,-5,36,-5' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048576' mask='16' exp='BAR' />
								<command class_type='calculation' title='Détection front montant' textarea='50,-9,50,-9' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='COMPT_BAR = COMPT_BAR + (BB &lt; BAR)' />
									<exp exp='BB = BAR' />
								</command>
								<command class_type='loop' title='Boucle' textarea='268,1,268,1' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='COMPT_BAR = 1' >
									<flowline >
										<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048576' mask='16' exp='BAR' />
										<command class_type='comment' title='' comment='Pas en trop ? 

SANS PEUT FONCTIONNER

mais lecture, puis stockage et comparaison' textarea='103,-4,103,-4' cmdcolor='1975743' cmdcolor_sec='1975743' />
										<command class_type='calculation' title='Détection front montant' textarea='50,-9,50,-9' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='COMPT_BAR = COMPT_BAR + (BB &lt; BAR)' />
											<exp exp='BB = BAR' />
										</command>
										<command class_type='input' title='(Entrée) BOUTON AVANCE RAPIDE' textarea='40,-2,40,-2' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048576' mask='16' exp='COMPT_BAR' />
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DEFILEMENT_BANDE' />
									</flowline>
								</command>
								<command class_type='decision' title='Décision ' textarea='1013,0,1013,0' cmdcolor='3568629' cmdcolor_sec='3568629' exp='AM_PM = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DEC_APREM' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='Lecture roue codeuse dans boucle possibilité qu&apos;elle ne soit pas lu avant ' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DEC_MATIN' />
									</flowline>
								</command>
								<command class_type='input' title='Entrée' textarea='53,-8,53,-8' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='4' exp='DCY' />
								<command class_type='calculation' title='Détection front montant' textarea='50,-9,50,-9' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='COMPT = COMPT + (AA &lt; DCY)' />
									<exp exp='AA = DCY' />
								</command>
								<command class_type='input' title='(Entrée) INTERRUPTEUR AM PM' textarea='55,-3,55,-3' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='128' exp='AM_PM' />
								<command class_type='comment' title='' comment='Tant que bouton DCY NON APPUY2 AUCUN LANCEMENT
' textarea='36,10,36,10' cmdcolor='1975743' cmdcolor_sec='1975743' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='on réactualise et on remet dcy à 0 si besoin' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='input' title='Entrée' textarea='53,-8,53,-8' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='4' exp='DCY' />
						<command class_type='comment' title='' comment='Démo 

5*24= 120s 
2) 7*23 =  161s' textarea='69,-5,69,-5' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='comment' title='' comment='

Si V_INIT &lt;&gt; 0 roue codeuse utilisée 
Décompte à faire avant de lancer le décompte principal
 

sinon = 0 roue codeuse non utilisée 
on peut directement commencer décompte principal


' textarea='53,-1,53,-1' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='comment' title='' comment='Au lieu de le mettre dans les deux branches avant 
temps mis à 0 dans les deux cas seule différence et le compte à rebours final.' textarea='42,-8,42,-8' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='decision' title='Décision' textarea='39,-4,39,-4' cmdcolor='3568629' cmdcolor_sec='3568629' exp='V_INIT &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calcul' textarea='36,-12,36,-12' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='TEMPS = 0' />
								</command>
								<command class_type='loop' title='Boucle' textarea='36,-8,36,-8' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='TEMPS = V_INIT' >
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Décompte 

Temps doit atteindre V_INIT' textarea='170,5,170,5' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='call' title='Appel d&apos;une Macro' textarea='49,-7,49,-7' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DEFILEMENT_BANDE' />
								<command class_type='comment' title='' comment='Initialisation faite =&gt; il est 00h, la valeur de décalage a été prise en compte 

on peut commencer le compteur du jour
' textarea='104,-5,104,-5' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='calculation' title='Calcul' textarea='36,-6,36,-6' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='TEMPS = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='loop' title='Boucle (dde répétition de chaque jour)' textarea='346,-4,346,-4' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='0 pour recommencer à compter jusqu&apos;à 

 (une journée)
(s non en cycles)' textarea='36,9,36,9' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='comment' title='' comment='changement de jour, défilement de la bande
activation du moteur ' textarea='89,-6,89,-6' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='loop' title='Boucle (Journée)' textarea='370,-7,370,-7' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='TEMPS &lt;= Jour_total' >
									<flowline >
										<command class_type='input' title='Entrée' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048577' mask='1' exp='MICROSWITCH' />
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='TIMER' />
										<command class_type='comment' title='' comment='Lecture du composant, pour avoir la valeur numérique 
((2.7 - 2.5)/2.7)*1023(valeur batterie basse)

Déclenchement voyant lumineux plus buzzer 
si batterie faible 
' textarea='36,3,36,3' cmdcolor='1975743' cmdcolor_sec='1975743' />
										<command class_type='comment' title='' comment='
démo
actionnement ET_Batt

19h, 17h, 15h (h*5)
temps 0.5s activation désactivation + 1 seule fois


' textarea='39,4,39,4' cmdcolor='1975743' cmdcolor_sec='1975743' />
										<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='TEMPS = Jour_total - 5 * R_Heure' swap='0' >
											<flowline >
												<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ET_BATTERIE' />
												<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='V_test = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='TEMPS = Jour_total - 10 * R_Heure' swap='0' >
													<flowline >
														<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ET_BATTERIE' />
														<command class_type='calculation' title='Calcul' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='V_test2 = 1' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Décision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='TEMPS = Jour_total - 15 * R_Heure' swap='0' >
															<flowline >
																<command class_type='call' title='Appel de la Routine Composant' cmdcolor='1975743' cmdcolor_sec='1975743' component='pot_color_cap1' macro='GetInt' >
																	<return exp='ET_BATT' />
																</command>
																<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ET_BATTERIE' />
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='comment' title='' comment=' compteur de boucle pour durée du nombre de fois de la repétition' textarea='36,-1,36,-1' cmdcolor='1975743' cmdcolor_sec='1975743' />
									</flowline>
								</command>
								<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DEFILEMENT_BANDE' />
								<command class_type='calculation' title='Calcul' textarea='36,-9,36,-9' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='TEMPS = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl1' x='50' y='80' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl2' x='50' y='30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.2' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl3' x='80' y='80' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.1' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl4' x='80' y='30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.3' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl5' x='-30' y='80' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm1' x='10' y='70' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.1' />
					<value target='polarity' data='000' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='04bbd3b8-ee11-40eb-91e8-1bbbd6f65b8c' vmin='0' vmaj='1' codename='Buzzer1' x='8.44444' y='106' z='0' xsz='0.276952' ysz='0.164901' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.3' />
					<value target='Polarity' data='001' />
					<value target='Color' data='16729600' />
					<value target='BuzzFreq' data='1200' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl6' x='-30' y='30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.2' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7a287a58-cba5-42ad-b8a5-58694d7f678a' vmin='2' vmaj='1' codename='sw_slide_sub_pcb1' x='10' y='40' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='180' xquat='0' yquat='0' zquat='1' wquat='6.12323e-17' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.7' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Label' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='10' y='30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='AM/PM B7' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label3' x='-30' y='10' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='DCY B2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label4' x='80' y='50' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='8_A3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label5' x='70' y='-20' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='MOT_B4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label6' x='50' y='50' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='4_A2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label7' x='10' y='120' z='39.87' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='BUZ B03' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label8' x='-30' y='60' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='BAR A4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label9' x='50' y='100' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='1_A0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label10' x='80' y='100' z='0.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='2_A1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4edcb163-5216-44c4-99d9-d6b24869f341' vmin='1' vmaj='1' codename='motor_simple1' x='60' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.4' />
					<value target='speed' data='250.000000' />
					<value target='acceleration' data='0.000000' />
					<value target='deceleration' data='0.000000' />
					<value target='show_actuator' data='1' />
					<value target='target_object' data='motor_simple1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl7' x='100' y='-30' z='10' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label11' x='70.8491' y='-48.457' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='MICROSWITCH_B0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='14683ea8-5a08-4b3a-be2d-3dea3e17e720' vmin='3' vmaj='1' codename='pot_color_cap1' x='10' y='10' z='0' xsz='25.1419' ysz='25.1419' zsz='18.45' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='cap_color' data='192' />
					<value target='point_color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='5' />
					<value target='vrefvol' data='300' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='2c813cfa-9563-4da8-85df-b4355a3c5108' vmin='3' vmaj='1' codename='lamp_les1' x='40' y='-20' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label12' x='30' y='-30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='B5 ZENER' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='-106.37' ye='-86.9049' ze='257.081' xt='76.6693' yt='43.8389' zt='-26.9051' xquat='-0.270474' yquat='0.186805' zquat='0.320392' wquat='0.888424' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArAMAAEkDAAA' zoom='55' scrollx='0' scrolly='540' flags='0' />
		<view type='0' name='DEFILEMENT_BANDE' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArAMAAEkDAAA' zoom='70' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ET_BATTERIE' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArAMAAEkDAAA' zoom='65' scrollx='0' scrolly='66' flags='0' />
		<view type='0' name='TIMER' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArAMAAEkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='INIT_MOT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArAMAAEkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DEC_MATIN' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArAMAAEkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
