Shop OBEX P1 Docs P2 Docs Learn Events
Most simple BS2 object ever! Tell me what you think — Parallax Forums

Most simple BS2 object ever! Tell me what you think

MicrocontrolledMicrocontrolled Posts: 2,461
edited 2010-03-22 21:10 in Propeller 1
I have made an object that, although not versitile, should be perfect for beginners to the Prop. It has all the simple BS2 functions and lots of commenting to make sure that the object is understood. Tell me what you think! It has the following commands:
PUB Start_Debug_Window
PUB Pause(time)
PUB High(pin)
PUB Low(pin)
PUB Input(pin)
PUB Sleep(period)
PUB Count(pin,duration,variable) 
PUB Debug(str)
PUB Random 
PUB Toggle(pin)




Tell me what you think I should add and tell me what you think of the program! Thanks!

Micro

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't click on this.....

Use the Propeller icon!! Propeller.gif

You had better not start ANOTHER PropII thread.

Comments

  • ScopeScope Posts: 417
    edited 2010-03-22 21:07
    Micro said...
    Tell me what you think I should add and tell me what you think of the program! Thanks!

    Thanks

    I am guessing that after spending maybe 8 or 9 hundred hours writing and debugging Spin, that I'll eventually begin learning how to use it.
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-22 21:10
    Read the comments and it will tell you how to get it running. It is very easy for beginners, so try it out. It is WAY simpler then the BS2_Functions object, but it also has less functions. It has the code header for you to cut and paste into your own object, so go for it! I hope that you will (in time) find the Propeller a valuable tool! smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....

    Use the Propeller icon!! Propeller.gif

    You had better not start ANOTHER PropII thread.
Sign In or Register to comment.