Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can anyone Help [abandoned]
#5
(2011-05-18, 22:35:02)Mikael Gustafsson Wrote: Have you configured the rx and tx pins to be digital? See ANSEL register in the data sheet.

Well I hoped this would do that - but to no avail

#define USE_TXENABLE 1 ;xxx uncomment to use a tx enable pin
#ifdef USE_TXENABLE
#define TRISR_TXE TRISB ;xxx tris register containing tx enable
#define PORTR_TXE PORTB ;xxx port register containing tx enable
; #define TRISB_TXE TRISb2 ;xxx tris bit for tx enable
; #define PORTB_TXE Rb2 ;xxx port bit for tx enable
#define TRISB_TXE TRISB2 ;xxx tris bit for tx enable
#define PORTB_TXE RB2 ;xxx port bit for tx enable
#endif

Judging by the number of views this seems to be a popular topic.
What else can I do ?
Reply


Messages In This Thread
Can anyone Help [abandoned] - by Ph1lJ - 2011-05-16, 14:46:51
RE: Can anyone Help - by Mikael Gustavsson - 2011-05-17, 19:11:32
RE: Can anyone Help - by Ph1lJ - 2011-05-17, 19:34:24
RE: Can anyone Help - by Mikael Gustavsson - 2011-05-18, 22:35:02
RE: Can anyone Help - by Ph1lJ - 2011-05-19, 15:06:50
RE: Can anyone Help - by Mikael Gustavsson - 2011-05-19, 15:50:10
RE: Can anyone Help - by Ph1lJ - 2011-05-19, 16:04:32
RE: Can anyone Help - by Mikael Gustavsson - 2011-05-22, 19:12:23
RE: Can anyone Help - by Ph1lJ - 2011-05-24, 21:21:47
RE: Can anyone Help - by Mikael Gustavsson - 2011-05-25, 20:53:00
RE: Can anyone Help - by Ph1lJ - 2011-05-25, 21:29:32
RE: Can anyone Help - by Mikael Gustavsson - 2011-05-25, 22:31:18

Forum Jump:


Users browsing this thread: 1 Guest(s)