Shop OBEX P1 Docs P2 Docs Learn Events
Noob question!! Spin Manual? — Parallax Forums

Noob question!! Spin Manual?

FarthinderFarthinder Posts: 9
edited 2009-04-13 14:57 in Propeller 1
I Hope you can excuse a noob question but is there a Spin Manual?

I have found plenty manuals on the Propeller with Spin programing examples but is there a Manual/website dedicated to the Spin language?

Comments

  • virtuPICvirtuPIC Posts: 193
    edited 2009-04-13 09:17
    The manual of the demo board (downloadable) has a large section containing a SPIN reference. Helped me a lot.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Airspace V - international hangar flying!
    www.airspace-v.com/ggadgets for tools & toys
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-04-13 11:05
    Hello Farthinder and welcome to the Propeller-forum,

    what kind of information do you miss in the things you found ?

    There is the http://propeller.wikispaces.com/ but I think it is not exactly what you wish

    best regards

    Stefan
  • FarthinderFarthinder Posts: 9
    edited 2009-04-13 12:57
    Thanks Stefan!

    I was looking for a general guide to the Spin language but as VirtuPIC said there is already alot of info on it in the manuals.

    How ever i have got and other question for you, i recently got the Pro Dev Board of one of Parallaxes suppliers and i have been playing around with it a little bit. Among many other things its got LED Segmented displays, they work by you first applying ground to one of the 6 digits you wanna light and then + to the segment in that digit you want to light. So my question is how can you make the propeller switch from digit to digit seeing as you have to apply ground to different legs not +.
  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-13 13:19
    The Propeller I/O pins have 3 states (as do those of most microprocessors), input, output high, and output low. In output high, the I/O pin gets connected to +Vdd (3.3V). In output low, the I/O pins gets connected to Vss (ground). The corresponding bit of DIRA has to be set to a one to set output mode and the corresponding bit of OUTA gives the state (high - 1, low - 0).

    You connect each digit to one I/O pin and each segment of all digits to one I/O pin.
  • FarthinderFarthinder Posts: 9
    edited 2009-04-13 14:57
    @Mike Green

    I a mere Noob bow in your shadow cast by your knowledge and bows and backs out humbly.

    ie. Thank you for answering a serious noob question in a pleasant and educated way.
Sign In or Register to comment.