I read dallas 1-wire devices on a PIC16F877 with the CCS touchl.c example program. Everything's OK, but if I configure it to read on any other port than BO e.g. B7, I cannot read the device? Any suggestions on what to try?
Thanx
Levett
lucky
Joined: 12 Sep 2003 Posts: 46 Location: South Coast - England
Touch driver
Posted: Tue May 04, 2004 4:13 am
Hi Levett,
You need to modify both the TOUCH_PIN & TOUCH_PIN_BIT in the touch.c driver file. For an 18F452 using pin B7 the following would be used:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum