Jump to content

walshy

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by walshy

  1. hi all trying to use th ADC on the pic16F876A a little confused as to how to use the ADC functionality with source boost anyone with any help on this #include <system.h> #define OP_PORT_0 porta.4 #define OP_PORT_1 porta.5 #define IP_PORT_ porta.1 #define TX_PORT 0x07 #define TX_TRIS 0x87 #define TX_BIT 6 #define RX_PORT 0x07 #define RX_TRIS 0x87 #define RX_BIT 7 #define e_SPBRG 0x99 #define e_RCREG 0x1a #define e_TXREG 0x019 #define e_TXSTA 0x98 #define e_RCSTA 0x18 #define e_TXIF_PIR 0x0c #define e_RCIF_PIR 0x0c #define e_TXIF_BIT 4 #defin
×
×
  • Create New...