-
 

  - >

,

 
19.02.2009, 00:04   #26
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

))???

movf PORTC
movwf PORTB

portb 1
gromovi   
19.02.2009, 00:13   #27
dosikus
Senior Member
 
  dosikus
 
: 05.06.2007
: 48
: 3,800
: 6357/149
dosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond repute
 :

:
gromovi
))???

movf PORTC
movwf PORTB

portb 1
...

:
movf PORTC,W
dosikus   
19.02.2009, 00:17   #28
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

:
dosikus
...
, )))
gromovi   
19.02.2009, 00:49   #29
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

, ()
gromovi   
19.02.2009, 00:53   #30
dosikus
Senior Member
 
  dosikus
 
: 05.06.2007
: 48
: 3,800
: 6357/149
dosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond repute
 :

:
gromovi
, ()
. http://www.microchip.ru/files/d-shee.../pic16f87x.pdf
1 .
, ...
. 107 .
.

dosikus; 19.02.2009 01:12.
dosikus   
19.02.2009, 01:23   #31
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

( ) ?
gromovi   
19.02.2009, 01:38   #32
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

() 0 , 0-7 3,2, , , , , !!! .
P.S.
gromovi   
19.02.2009, 01:50   #33
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

PIC Simulator ,
gromovi   
19.02.2009, 10:55   #34
Greg
Super Moderator
 
: 25.02.2007
: Moscow, ODBS
: 7,015
: 6060/179
Greg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond reputeGreg has a reputation beyond repute
 :

:
gromovi
, , ?
Greg   
19.02.2009, 11:34   #35
Z_user
Guest
 
: n/a
 :

:
gromovi
, ()
?
 
19.02.2009, 11:35   #36
Z_user
Guest
 
: n/a
 :

:
gromovi
( ) ?
.
 
19.02.2009, 17:36   #37
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

( ))
?
LIST p=16F877 ;
#include "P16F877.INC" ;
org 0 ;
goto START ;
START
clrf INTCON ;
MOVLW B'10001110' ;6 ADRESH 0
BSF STATUS, RP0 ; 1
movwf ADCON1 ; .
BCF STATUS, RP0 ; 0
movlw b'10000001' ; . 0,
movwf ADCON0 ; .
;
BSF ADCON0,2
; GO/DONE 0, 1 0 START
LOOP
BTFSC ADCON0,2
GOTO LOOP
GOTO START

END
ADCON0,2 GOTO LOOP, LOOP START ???((

gromovi; 19.02.2009 19:31.
gromovi   
19.02.2009, 19:33   #38
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

!!! BTFSS )
gromovi   
19.02.2009, 22:57   #39
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

, , ADRESH ADRESL , 0 ( PIC SIMULATOR , ) ( ADRESH ADRESL )
LIST p=16F877 ;
#include "P16F877.INC" ;
org 0 ;
goto START ;
START
clrf INTCON ;
BSF STATUS, RP0; 1
MOVLW B'00000000'
MOVWF TRISB; ; D
MOVWF TRISD; D
MOVLW B'00001110' ;6 ADRESL 0
movwf ADCON1 ; .
BCF STATUS, RP0 ; 0
movlw b'10000001' ; /32. 0, ,
movwf ADCON0 ; .
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP;
BSF ADCON0,GO;
LOOP
BTFSC ADCON0,GO; GO/DONE 0, 1 0 START
GOTO LOOP
MOVF ADRESH,0;
MOVWF PORTB ; 8
BSF STATUS, RP0; 1
MOVF ADRESL,0;
BCF STATUS, RP0; 0
MOVWF PORTD; D (D7.D6)
GOTO START

END

gromovi; 19.02.2009 23:41.
gromovi   
19.02.2009, 23:42   #40
dosikus
Senior Member
 
  dosikus
 
: 05.06.2007
: 48
: 3,800
: 6357/149
dosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond repute
 :

goto START , NOP - .
PIC SIMLATOR ...
. + 2 .
dosikus   
19.02.2009, 23:47   #41
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

:
dosikus
goto START , NOP - .
PIC SIMLATOR ...
. + 2 .
, ? , ?
+ 2
gromovi   
19.02.2009, 23:51   #42
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

gromovi   
19.02.2009, 23:59   #43
dosikus
Senior Member
 
  dosikus
 
: 05.06.2007
: 48
: 3,800
: 6357/149
dosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond reputedosikus has a reputation beyond repute
 :

:
gromovi
?
+ 2
_ .

.
.
, .
_ .
dosikus   
20.02.2009, 01:07   #44
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

( 20 0,2 100 NOP)
gromovi   
20.02.2009, 02:07   #45
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

:
LIST p=16F877 ;
#include "P16F877.INC" ;
TIMER EQU H'007F'
org 0 ;
goto START ;
START
clrf INTCON ;
BSF STATUS, RP0; 1
MOVLW B'00000000'
MOVWF TRISB; ; D
MOVWF TRISD; D
MOVLW B'00001110' ;6 ADRESL 0
movwf ADCON1 ; .
BCF STATUS, RP0 ; 0
movlw b'10000001' ; /32. 0, ,
movwf ADCON0 ; .
; 249
MOVLW B'11111001';249
MOVWF TIMER;
TIMER1
DECFSZ TIMER,1; 1 =0,
GOTO TIMER1
PRO
BSF ADCON0,GO;
LOOP
BTFSC ADCON0,GO; GO/DONE 0, 1 0 START
GOTO LOOP
MOVF ADRESH,0;
MOVWF PORTB ; 8
BSF STATUS, RP0; 1
MOVF ADRESL,0;
BCF STATUS, RP0; 0
MOVWF PORTD; D (D7.D6)
MOVLW B'00000101';5
MOVWF TIMER;
TIMER2
DECFSZ TIMER,1; 1 =0,
GOTO TIMER2
GOTO PRO
END
PIC , " " , ( )
gromovi   
20.02.2009, 14:56   #46
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

ADRESH ADRESL ( , )? ?
gromovi   
21.02.2009, 17:36   #47
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

??? ?
gromovi   
21.02.2009, 17:44   #48
Z_user
Guest
 
: n/a
 :

:
gromovi
ADRESH ADRESL ( , )? ?
/ . , - -? .
, : - . 16-.
: , . . !
, ?

Z_user; 21.02.2009 17:51.
 
21.02.2009, 18:23   #49
gromovi
Banned
 
: 17.02.2009
: 1,368
: 381/0
gromovi is just really nicegromovi is just really nicegromovi is just really nicegromovi is just really nice
 :

TOTL1 , " " ?
LIST p=16F877 ;
#include "P16F877.INC" ;
TIMER EQU H'007F';
TOTL1 EQU H'0020';
TOTL2 EQU H'005F';
org 0 ;
goto START ;
START
clrf INTCON ;
BSF STATUS, RP0; 1
MOVLW B'00000000'
MOVWF TRISB; ; D
MOVWF TRISD; D
MOVLW B'00001110' ;
movwf ADCON1 ; .
BCF STATUS, RP0 ; 0
movlw b'10000001' ; /32. 0, ,
movwf ADCON0 ; .
; 249
TOOP
MOVLW B'11111001';249
MOVWF TIMER;
TIMER1
DECFSZ TIMER,1; 1 =0,
GOTO TIMER1
BSF ADCON0,GO;
LOOP
BTFSC ADCON0,GO; GO/DONE 0, 1 LOOP, 0
GOTO LOOP
; ADRESH(8) ADRESL 2 7,6
;
MOVF ADRESH,0;
MOVWF PORTB ; 8
BSF STATUS, RP0; 1
MOVF ADRESL,0;
BCF STATUS, RP0; 0
MOVWF PORTD; D (D7.D6)
;
MOVLW B'11111111'; 19,53
BSF STATUS,RP0
MOVWF PR2;
BCF STATUS,RP0
MOVF ADRESH,0; 8
MOVWF CCPR1L;
BSF STATUS,RP0
MOVF ADRESL,0;
BCF STATUS,RP0
; CCP1CON 5.4
MOVWF TOTL1
RRF TOTL1,1;
RRF TOTL1,1; ( 2 ADRESL)
MOVF TOTL1,0
;
MOVWF CCP1CON; 5,4
BSF STATUS,RP0
BCF TRISC,2
BCF STATUS,RP0
MOVLW B'00000100'
MOVWF T2CON
BSF CCP1CON,3
BSF CCP1CON,2
GOTO TOOP
END
gromovi   
21.02.2009, 18:50   #50
VaBo
Senior Member
 
: 25.02.2007
:
: 1,511
: 737/71
VaBo is a splendid one to beholdVaBo is a splendid one to beholdVaBo is a splendid one to beholdVaBo is a splendid one to beholdVaBo is a splendid one to beholdVaBo is a splendid one to beholdVaBo is a splendid one to behold
 :

:
gromovi
??? ?
.
VaBo   

pwm,

« | »

: 1 (: 0 , : 1)
 


.
HTML .




GMT +3, : 15:22.

- -

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd. : zCarot