simonwai999
Advanced Member level 4
some codes
hi
i saw some codes like these for pic16f84
what is portb pullups?
Does it mean portb is connected to vcc and this sets it to the vss?
thanks
hi
i saw some codes like these for pic16f84
Code:
ORG 0
PowerOn BSF STATUS,RP0 ;Select file bank 1
MOVLW H'00'
MOVWF TRISB ;Set all PORTB bits as outputs (display driver)
MOVWF TRISA ;Set all PORTA bits as outputs (will be inputs in future version)
MOVLW B'11010111' ;Turn off PORTB pullups, prescaler to TMR0, 1:256 scaling
MOVWF OPTION_REG
what is portb pullups?
Does it mean portb is connected to vcc and this sets it to the vss?
thanks