Serout to serial servo


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    49


    Did you find this post helpful? Yes | No

    Default

    Joe S,

    What do you mean WDT.Can you please elaborate more.

    If i use the Hserout do I have to use Include BS2defs.bas.

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


    Did you find this post helpful? Yes | No

    Default

    WDT. Watch Dog Timer. This is one of the config settings. Look at the PICs data sheet.
    You do not need the BS2 stuff with SEROUT2 or HSEROUT. In fact, being you still have that in you code might be causing some of the trouble. Not sure though.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by azmax100 View Post
    Joe S,

    What do you mean WDT.Can you please elaborate more.

    If i use the Hserout do I have to use Include BS2defs.bas.
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    I strongly suggest everyone new to PICs read through all the posts in the FAQ section, really a lot of good things in there. WDT is what it it's name implies, it , like a watch dog, keeps an eye on your pic, and if allowed to time out, it resets it. After your code is perfect, turn it off if you like.
    If i use the Hserout do I have to use Include BS2defs.bas.
    I wouldn't put it in. It basically just redefines a bunch of stuff so you can use basic stamp syntax, it also includes modedefs.bas automatically, which you do not need to use hardware serial port either. You do need it (modedefs.bas) if using serout or serout2 and want to use the aliased baud notations like N9600 . . . instead of mode 396 . . . As far as BS2defs goes, I am assuming a 2 to 7 dollar PIC beats spending what . . . ? . . . 25 for a stamp ? I think you will not go back, so it's better to put that chapter behind you, with fond memories (of the money you spent), and get up to speed with PIC syntax. IMHO
    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.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. serial ports, the servo control.
    By m.nobre in forum Serial
    Replies: 0
    Last Post: - 7th December 2009, 16:16
  3. More Servo Woes
    By chrisshortys in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 13th May 2009, 08:40
  4. Serial Servo Spider
    By gandora in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st May 2007, 06:48
  5. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 04:26

Members who have read this thread : 1

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