Basic stamp code does not works.


Closed Thread
Results 1 to 14 of 14

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Basic stamp code does not works.

    Quote Originally Posted by CuriousOne View Post
    modedefs.bas is included. When I try to include bs2defs.bas, it gives error during compile on line next to it (no matter what is on there).
    As per the manual, use either but not both, bs2defs IS for stamp code use.
    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
    Join Date
    Feb 2013
    Posts
    1,172


    Did you find this post helpful? Yes | No

    Default Re: Basic stamp code does not works.

    Yes, as you can see, I had one of them commented, so was enabling one at a time, to check the compatibility. And even with bs2defs.bas included, compiler gives error on "Faults var nib".

    I have PBP3

    Hardware is PIC16F870

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,729


    Did you find this post helpful? Yes | No

    Default Re: Basic stamp code does not works.

    pbp3 has no var type of nibble as previously mentioned use type BYTE

    are you sure that code is for a max31855 ?
    because that code reads the chip temp not the THERMOCOUPLE temp

  4. #4
    Join Date
    Feb 2013
    Posts
    1,172


    Did you find this post helpful? Yes | No

    Default Re: Basic stamp code does not works.

    Yes, it works just fine on BS2. The code reads both data, I just enabled single one, to see if problem is in reading.

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Basic stamp code does not works.

    Try setting your TRIS register.

  6. #6
    Join Date
    Feb 2013
    Posts
    1,172


    Did you find this post helpful? Yes | No

    Default Re: Basic stamp code does not works.

    It took me two days to figure out

    when connecting to BS2, I was reversing the pins, so pinout in code was correct for that code only. Everything works just fine, thanks!

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Basic stamp code does not works.

    Well I mentionned pins in my post and I was first to reply so I'm taking credit for solving this.

    Robert

Similar Threads

  1. Newbie migrating from Basic Stamp to PIC
    By gertlind in forum PBP3
    Replies: 7
    Last Post: - 2nd October 2013, 18:46
  2. Moving from Basic Stamp and MIKROE basic to PicBasic PRO
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 40
    Last Post: - 6th March 2013, 05:27
  3. Yet another SERIN2 problem - Conversion from Basic Stamp
    By Fanias in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 24th October 2012, 07:08
  4. PicBasic Pro to Basic Stamp conversion?
    By Kirk Fraser in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th March 2011, 06:49
  5. Basic Stamp BS2 replacement?
    By tenaja in forum Schematics
    Replies: 5
    Last Post: - 17th November 2009, 17:27

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