HSERIN HSEROUT - Baud rate help


Results 1 to 7 of 7

Threaded View

  1. #7
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    On the 18 pin device it appears that RA7 is also input only !

    http://ww1.microchip.com/downloads/e...doc/30487c.pdf

    Also, and whilst no expert on your settings you have
    Code:
    TRISB = %00001111 		'SET PORTB RB2(RX) as input, others to OUTPUT
    TRISA = %00000000 		'SET PORTA AS OUTPUTS
    
    porta = 63
    PAUSE 1000
    
    'LeftBtn Var PORTB.1
    'RiteBtn Var PORTB.3
    'StopBtn VAR PORTB.0
    'RadioEn var PortB.4
    you have set PORTB as output apart from RB2 but appear to have buttons which are normally inputs ( taking pin high or low) on RB1, RB3, RB0 and RB4 ?, but appear to have set it correctly with TRISB = %00001111
    Last edited by malc-c; - 15th September 2010 at 09:13.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts