clock flowchart


0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic
0x08 graphic

start

Port0=7-seg of hours(tens)

H=0:m=0:s=0

Start 1 sec timer

Port2=1 (digit h1 shown)

Port2=2 (digit h2 shown)

Port0=7-seg of hours(units)

Port0=7-seg of minutes tens/units

Port0=7-seg of seconds tens/units

Port2=4/8 (digit m1m2 shown)

Port2=16/32 (digit s1s2 shown)

H+ pressed ?

H=h+1 : if h>23 then h=0

H=h-1: if h<0 then h=0

H- pressed ?

M + pressed ?

M + pressed ?

M=m+1: if m>59 then m=0

M=m-1 : if m<0 then m=59

I second interrupt

S=s+1

If s>59 then s=0: m=m+1

If m>59 then m=0: h=h+1

If h>23 then h=0

return



Wyszukiwarka

Podobne podstrony:
Homework Event Based State Machine Alarm Clock
Clock
rock around the clock
Mantle Clock
135 rock around the clock
Blockbuster, Clock On placement test
clock pcb 2
CLOCK GENES OF MAMMALIAN CELLS PRACTICAL IMPLICATIONS
Peripheral clock gene expression in CS mice with
clock pcb3
clock diag
Blaupunkt CR5WH Alarm Clock Radio instrukcja EN i PL
Five o clock
alarm clock
Evidence of an oscillating peripheral clock in an equine fib
Kreml Clock
Ten O clock Postman
8051 clock article
clock

więcej podobnych podstron