Shop OBEX P1 Docs P2 Docs Learn Events
The Zero Tutorial - Getting Started — Parallax Forums

The Zero Tutorial - Getting Started

mindrobotsmindrobots Posts: 6,506
edited 2012-06-26 17:05 in Propeller 1
Very basic tutorial. Getting started with a step by step tour through the hello.c program that loads when you first start SimpleIDE.

There's a very simple, very brief overview of the memory models at the end.

Feedback is appreciated!! Thanks!

Enjoy!

Comments

  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-06-25 19:03
    Much different than the toggle tutorials?
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-06-25 19:24
    Maybe, maybe not. Some things soak in differently for different folks.

    Thanks for taking the time to read it.
  • W9GFOW9GFO Posts: 4,010
    edited 2012-06-25 19:50
    I thought it was good.

    Only confusing part is the part where it talks about sleep running slower than waitcnt due to it not fitting within the cog. Makes it sound like the code executes slower - but it's comparing clkfreq/10 to sleep(1).
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-06-25 20:06
    Thank you, I should change that so it is apples and apples on the delay times - it just looked kind of strange with usleep(100000) in there.
  • W9GFOW9GFO Posts: 4,010
    edited 2012-06-25 20:12
    Why not change it to waitcnt(clkfreq+cnt)?
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-06-25 20:16
    I was trying not to introduce a change to the demo code in the distribution but it coul certainly be done as part of the tutorial. A chance to explain CLKFREQ and CNT - good idea!
  • jazzedjazzed Posts: 11,803
    edited 2012-06-25 20:26
    Such fluid, clear, and friendly writing! My writing is like a tar pit by comparison.

    Thanks Rick.
    --Steve
  • cavelambcavelamb Posts: 720
    edited 2012-06-26 17:05
    Very nice piece of work.

    Loved the scope tutorial.
Sign In or Register to comment.