[C.CC USERS] Occam-Pi programing question

Matt Jadud matt at jadud.com
Thu Aug 30 23:27:10 BST 2012


On Thu, Aug 30, 2012 at 6:23 PM, Matt Jadud <matt at jadud.com> wrote:
> Hi Bryant,

Two more answers to your question:

http://rockalypse.org/courses/cs220f11/guides/introducing-occam-pi/

That page should be migrated to concurrency.cc. I'll do that someday,
honest. It includes linkes to a wide variety of resources, including
some books (from back in the day) on occam, all of which are (almost
100%) relevant.

Also, linked from that page:

http://www.rockalypse.org/courses/cs220f11/resources/occamdoc/

That is a (mostly accurate) set of documentation regarding the
plumbing libraries. To turn individual (digital) pins on and off, use

digital.write(pin, level)

or, as an example:

-- Turns on pin 13
SEQ
  digital.mode (13, OUTPUT)
  digital.write (13, HIGH)

See

http://www.rockalypse.org/courses/cs220f11/resources/occamdoc/digital.html

for the digital module. If that is wrong in any way, please do let us know.

Cheers,
Matt



More information about the users mailing list