BS2 commands (simplified)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: microcontrolled , created: 2010-03-22 | updated: 2013-05-02

This object is perfect for Propeller beginners coming from a BS2 background! It is not complicated and has full instructions for operation in the comments. You can get a "Hello World" program running in no-time! This object needs the FullDuplexSerial object, which is also available on the OBEX. You will also need the Parallax Serial Terminal, which should be installed on your computer if you have Propeller Tool 1.2.6 or up. This object will give you the following commands:

 
  • Pause(time)
  • High(pin)
  • Low(pin)
  • Input(pin)
  • Sleep(period)
  • Count(pin,duration,variable) 
  • Debug(str)
  • Random 
  • Toggle(pin)
 
Instructions on how to integrate them into your program are in the comments at the header of the program. If you have any questions or suggestions for new commands, contact me at microcontrolled@gmail.com
 
Version 1.0.1 : Added extra helpful instructions in the comment area.
Original File Upload
AttachmentSize
Binary Data BS2_Commands.spin4.8 KB