Data Storage Tool Display Human Input Protocol Math Motor Control Sensor Signal Generation & Processing Speech & Sound Fun View all Objects


Quick Links
Contact Us
Forums
Support

Register
Login

This object is provided under license. By downloading this object, you are agreeing to the terms of the MIT License.

BS2 Functions

General PBASIC functionality library, written in Spin, that mimics and extends many popular BS2 functions: COUNT, DEBUG, DEBUGIN, FREQOUT, PAUSE, PULSOUT, PULSIN, PWM, RCTIME, SEROUT, SERIN, SHIFTOUT, SHIFTIN.

Version 1.5.0 adds methods for HIGH/LOW/IN, and continuous methods for FREQOUT, PWM and COUNT. It also add EEPROM access for code and high memory access using READ and WRITE methods.

Don't forget to start -Needed for timing: BS2.Start(31,30)

Version:
  1.5.2

Type:
  Object

Attributes:


Author:
  Martin Hebel

Categories:
  Tool
  Protocol
  Signal Generation & Processing

Downloads:
  8,474

Last Updated:
  2010-05-09



User Reviews:

  • microcontrolled commented:
    This helped me get started with the Propeller so long ago! Thank you for writing such a great object!
    March 22, 2010 6:26 a.m.


  • Louis St-Hilaire commented:
    I never used the Basic Stamp, but I found in your code many useful functions. Thank you!
    November 3, 2008 12:45 p.m.


  • Ken commented:
    What a necessary and wonderful library! I would like to see the Propeller tutorials use this library so we can see the same feedback as with the BS2.
    July 8, 2008 3:27 a.m.


  • datacps commented:
    Great Job thank you very much for the code, It will make it easier to make the transition from SX/B to Spin
    November 18, 2007 1:51 a.m.




  • Comments on this Object:


    [2011-03-06 14:19:20] Christopher Dowland said:
    Thanks about to get my prop in the mail cant wait to dive in thanks for taking the time and doing this Reply
    [2011-08-11 13:54:05] Martin Hebel said:
    You are welcome! Reply
    [2011-05-23 09:36:04] Anonymous said:
    SEROUT_CHAR(Pin, char, Baud, Mode, Bits ) and SERIN_CHAR(pin, Baud, Mode, Bits) does not work with baud greater than 9600 because of negative number in pause_us(....) Reply
    [2011-08-11 13:53:46] Martin Hebel said:
    Yes, the comments at the start of the code note that Serial methods should be limited to 9600. -Martin Reply
    [2011-12-13 13:56:40] JakobLover said:
    I have problems understanding OBEX stuff... I want to implement the PWM command into my code compiled to SPIN with PropBASIC... How can I do that? Reply

    Post a comment:




    Please contact obex.support@parallax.com with comments or questions.

    Copyright 2011 by Parallax, Inc.