1 / 4

Števec obratov

Števec obratov. (projekt). Uroš Stele, R4.a Andraž Juren, R4.a. Števec obratov.

darena
Download Presentation

Števec obratov

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Števec obratov (projekt) Uroš Stele, R4.a Andraž Juren, R4.a

  2. Števec obratov V projektu števec obratov, sva skupaj z nekaj težavami in nekaj pomoči, realizirala vezje, ki na zaslon izpisuje kolikorat, je šel nek magnet mimo senzorja, program šteje samo od 0 do 9, potem gre pa znova od začetka. Realizirala sva samo za eno število, za drugo število, bi pa lahko predlagal kot izboljšavo projekta in lahko bi še dodala podprogram za izračun hitrosti. Vendar noben projekt NI popoln.

  3. Diagram poteka

  4. icf_timer ldaa $0008 ldd $000d ldaa #%11110000 staa 0 ldaa $b000 inca staa $b000 staa vrednost lsla lsla lsla ldaa $b000 cmpa #%00001010 beq blabla staa 2 rti ocf_timer rti zapisi_na_led ldaa $b000 staa 2 rts org $fffe fdb start org $a000 vektorji equ $FFF2 start lds #$00ff clr $b000 cli ldaa #%11110000 staa 0 ldaa #%00000000 staa 1 staa 2 ldaa #%00110010 staa 8 na jsr zapisi_na_led wai tof_timer ldaa #%00100100 staa $0008 rti vrednost fdb $0 blabla ldaa $b000 cmpa #%00001010 bne na ldaa #%00000000 staa $b000 rti org vektorji fdb tof_timer fdb ocf_timer fdb icf_timer

More Related