Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Issue successfully resolved

???
05/18/04 07:52
Read: times


 
#70604 - RE: Simple circuit - getting started
Responding to: ???'s previous message
hi,

First error:
LOOP: MOV TCOUNT,#20 
SETB TR0 
JNB ALARM,$ 
; here you need to reset ALARM bit again
; before repeat the loop otherwise
; TCOUNT will be reloaded permanently after first itteration
JMP LOOP
Second ERROR:
MAIN: MOV TMOD, 01H ;Initialise Timer 0 as 16-bit mode timer 
The line above does not initialise timer!
MOV TMOD,#01H does it.

Regards,
Oleg

List of 35 messages in thread
TopicAuthorDate
Simple circuit - getting started            01/01/70 00:00      
   RE: Simple circuit - getting started            01/01/70 00:00      
      RE: Simple circuit - getting started            01/01/70 00:00      
         RE: Simple circuit - getting started            01/01/70 00:00      
            RE: Simple circuit - getting started            01/01/70 00:00      
               RE: Simple circuit - getting started            01/01/70 00:00      
                  RE: Simple circuit - getting started            01/01/70 00:00      
   RE: Simple circuit - getting started            01/01/70 00:00      
      RE: Simple circuit - getting started            01/01/70 00:00      
         RE: Simple circuit - getting started            01/01/70 00:00      
            RE: Simple circuit - getting started            01/01/70 00:00      
      RE: emitter follower?            01/01/70 00:00      
         RE: emitter follower?            01/01/70 00:00      
            RE: PNP            01/01/70 00:00      
               RE: PNP            01/01/70 00:00      
                  RE: PNP            01/01/70 00:00      
               RE: PNP            01/01/70 00:00      
               RE: PNP            01/01/70 00:00      
                  RE: PNP            01/01/70 00:00      
                     Historical Images            01/01/70 00:00      
                        RE: Historical Images - Andy            01/01/70 00:00      
                     RE: PNP v.s. NPN            01/01/70 00:00      
         RE: emitter follower?            01/01/70 00:00      
   RE: Simple circuit - getting started            01/01/70 00:00      
      RE: Simple circuit - getting started            01/01/70 00:00      
      RE: Simple circuit - getting started            01/01/70 00:00      
   a shining light            01/01/70 00:00      
      Hear! Hear!!            01/01/70 00:00      
   RE: Simple circuit - getting started            01/01/70 00:00      
      RE: Simple circuit - getting started            01/01/70 00:00      
         RE: Simple circuit - getting started            01/01/70 00:00      
      Experience, dear boy...            01/01/70 00:00      
   RE: Simple circuit - getting started            01/01/70 00:00      
      RE: Simple circuit - getting started            01/01/70 00:00      

Back to Subject List