Serin with low voltage


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    http://www.picbasic.co.uk/forum/show...57&postcount=6

    Also, you have a free USART in your PIC, you should use it. HSEROUT, HSERIN instead. But you have to use the dedicated pins PORTB.2 and PORTB.5
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    http://www.picbasic.co.uk/forum/show...57&postcount=6

    Also, you have a free USART in your PIC, you should use it. HSEROUT, HSERIN instead. But you have to use the dedicated pins PORTB.2 and PORTB.5
    Yes I've just never used the hardware one before, and never had problems with the serial one before, and I have all the analog side switched off, and it wont even work on purely portb


    I'm going to drag out the scope later and see just whats going in, no reason exists for it not to work, except voltage, so its annoying me now!

    if the damn thing had worked like I guessed it would(!) I would be sat back woth a working toy now!

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    http://www.picbasic.co.uk/forum/show...57&postcount=6

    Also, you have a free USART in your PIC, you should use it. HSEROUT, HSERIN instead. But you have to use the dedicated pins PORTB.2 and PORTB.5


    lol

    I really do have code blindness.........

    I owe you a great thankyou, or apology for disbelief, but even though I had included lines to switch off the analog stuff I had one with a little mistake in it, and I had looked at it at least a 100 times as I scrolled down to where I thought the fault was................

    The 'thing' now works a treat, and I have real data going back in on porta, now to shift it to port b......

    (edit)
    I have moved the code to port b, and it now works, which explains nothing, as even with analog enabled on port A, port B should work just the same! agh!
    Last edited by f_lez; - 21st August 2006 at 14:05.

Similar Threads

  1. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 15:23
  2. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  3. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 20:35
  4. 4-line LCD Help - using PortA instead of B
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 31st March 2005, 03:14
  5. Low Voltage Detection
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th January 2005, 18:29

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