SERIN and SEROUT


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by CumQuaT View Post
    Hi! Thanks for the warm welcome!

    I actually described precisely what my problem is. The code I have with the connections I have isn't transmitting or receiving single numbers. I am also not using porta at all in my code.
    I must be getting senile . . . single numbers . . . or anything usable (DATA), if you send a string does that show up ? Or do you get nothing at all ? Do your Pics do anything? Do you have a heartbeat LED on them to ascertain they are actually working?
    As mentioned above serial is 2 wire signal and ground, coax or twisted works fine, (doorbell wire makes for cheap twisted pair).
    Question: Are you using a resonator / crystal / or INternal RC Oscillator ? Do the default config statements located in the 16F628A.inc file in the PBC root directory agree with what you are trying to use? Are you using PBC or PBP ?
    Last edited by Archangel; - 2nd September 2009 at 05:51.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2


    Did you find this post helpful? Yes | No

    Default Serin Command

    Has anyone see a change on the SERIN command with ver 2.60 upgrade?

    I had this command working fine with v2.50a and now it will not work on 2.6

    Any ideads? the ON9600 seems to be the issue.

    Code:
    Serin PORTC.5,ON9600,B0
    Thanks,
    Kevin

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by hatchethand1000 View Post
    Has anyone see a change on the SERIN command with ver 2.60 upgrade?

    I had this command working fine with v2.50a and now it will not work on 2.6

    Any ideads? the ON9600 seems to be the issue.

    Code:
    Serin PORTC.5,ON9600,B0
    Thanks,
    Kevin
    Is this new code or old code that worked with 2.5?
    Did you remember to include modefs.bas?
    Can you find the new thread button?
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Sep 2009
    Location
    Brisbane, Australia
    Posts
    10


    Did you find this post helpful? Yes | No

    Default reply

    Hi all,

    I resolved the issue. I just had to remove the brackets when using SERIN. Aratti was right.

    Thanks for the help!

Similar Threads

  1. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 23:03
  2. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 18:11
  3. Help with serin, serout, Manchester encoding
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 5th April 2007, 14:31
  4. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 07:23
  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