newbie
zoid
Posts: 12
Man I am completely lost!
this stuff looks nothing like stamp basic.
I've been studying the manuals for over a week and then try to pick apart some code... huh??????
I tried to play with a led blinking pgm on pg 191,192 in the hydra manual only to discover it has errors in it.
If I try to doodle with that code I get more mysterious errors.
I go to the help section in the propeller tool and click on tutorials....its blank.
Where can I find some decent tutorials?
this stuff looks nothing like stamp basic.
I've been studying the manuals for over a week and then try to pick apart some code... huh??????
I tried to play with a led blinking pgm on pg 191,192 in the hydra manual only to discover it has errors in it.
If I try to doodle with that code I get more mysterious errors.
I go to the help section in the propeller tool and click on tutorials....its blank.
Where can I find some decent tutorials?
Comments
Try this web page, it is for Propeller Education Kit Labs.
http://www.parallax.com/PropellerEducationKit/tabid/845/Default.aspx
Scroll down the page until you find "Propeller Education Kit Labs: Fundamentals Book v1.2 (.pdf)", and download this text. This book is very educational.
Bruce
You might also want to consider trying PropBasic, which you can use in conjunction with BST. There's also an object in the exchange that mimics the sytax of PBasic, but I don't recall the name.
Duane
Ron
you can find it on the top menu bar under "Help" and it's labeled "Propeller Help..."
look in the table of contents for "Spin Programming Tutorial"
If you have any problems, post your code (remember to either post it in an attached archived zip file - PropTool will do this for you) or ensure it is between {code} and {/code} tags (replacing the {} with the square bracket kind) to maintain indentation.
Um er i typed this in verbatim and... it does not fly. Thinking it refers to the wrong pin, i changed
Dira[16]~~ to Dira~~ set all pins to outputs then:
!outa[16] to outa[$FF] set 1st 8 bits to 1
on this hydra board P0 is the test LED
I would think this ought to do it. yet....
no... then
when I tried to close to propeller tool I got some error message that something was out of range. It repeated endlessly until I had to reboot my computer... It crashed it. ?? go figure
sorry to be a pest
The screen says programming tutorial and nothing else.
also, online help/ chapter 2 using the propeller IDE is also blank.
yes thanks I will try this tomorrow as it is getting late
The test LED does work as I have seen it lit up once however, I will confirm this as well with a meter anyway.... tomorrow
All in all I think this is just a "learning curve" thing. The prop is a complex chip. It will be a powerful thing for me once i get over the "hump". I already have a $$$ paying application for it... Not due for a demo for 4 months so i do have time to get it right. FYI, The app uses VGA video , MIDI and a mouse so I bought a Hydra. that is my learning platform.
The snippet that Leon posted is a perfect example - full of shorthand, and no comments at all.
It seems that no one who is well versed in Propeller programming is willing and able to write complete functional spin programs for the beginner without the shorthand or fancy stuff.
-Tor
Don't be disappoint if you cannot follow all the examples the first time. Many users on this forum already had several decades of experience on computers when they were "beginner" to the prop. It is a small wonder that such folks don't understand the "beginner" perspective of others. Although some statements appear to imply we are stupid for not understanding, this is not necessarily the intent.
EDIT - Maybe take a look at propforth http://code.google.com/p/propforth/ Some folks find this easier.
yes I can generally read a simple piece of code as shown in the example
yes I was right to suspect it worked but was outputting on the wrong pin
my test LED is on P0... pin 1
the test pgm outputs on P16 ...pin 21
once i changed the ......[16]s to [0]s it works on my test rig
my o'scope is fried and the replacement is not here yet so I used a led in series with a resistor to probe around with
and find this out.
now I may proceed