serin with pic18f2525


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    Glasgow, Scotland
    Posts
    26

    Default Still no Joy

    Hi there,

    I have tried the code on a 18f2220 but still the same problem. I tried using DEBUGIN but still the same. Is it to do with the settings of the Hardware UART?, I am not actually sending anything to the pic only sending data at present, but it still fails if I include the serin2 line.

    anyone out there with any suggestions . I would be eternally grateful

    cheers John

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    I am just making a wild guess, maybe PORTC.7 should be set LATC.7.
    http://www.picbasic.co.uk/forum/show...57&postcount=9

    If I understand this right, LATC will set the pin digital and PORTC is schmitt trigger.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jun 2006
    Location
    Glasgow, Scotland
    Posts
    26

    Default 18F2525 issues

    thanks Dave, I will give it a try, under pressure at the moment but I will let you know if it worked.

    many thanks again
    john

Similar Threads

  1. Serin EEPROM Programmer
    By dirtbiker5627 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 25th February 2010, 00:48
  2. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 23:03
  3. serin question?
    By sachymo in forum General
    Replies: 5
    Last Post: - 27th July 2008, 11:04
  4. Problem with PBP interrupt and Serin, please help
    By rgregor in forum mel PIC BASIC
    Replies: 0
    Last Post: - 22nd August 2006, 20:02
  5. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 16:54

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