[CCC DEV] Concerning commit 6894(ish)
Michael Pirrone-Brusse
pirronm at allegheny.edu
Mon Jul 19 22:19:29 BST 2010
Hey all,
I think I'm trying to do something that Occam can't do.
In an effort to round out our API and the usability of the
transterpreter on arduino-like boards, I'm putting together a wiring.module
that should look just about exactly like arduino.cc's wiring. The problem
I'm facing is that arduino.cc seems to be taking some advantage of global
variables.
In an attempt to mimic this behavior, right below all the module
constants, I've written
INITIAL INT ADC.REF IS #0:
Further down, I have a PROC that sets ADC.REF to the argument passed to
said PROC, and finally I have the FUNCTION that makes the call
adc.base (avr.pin, ADC.REF, val)
This does not work.
Thoughts?
Best,
-Drew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.concurrency.cc/pipermail/developers/attachments/20100719/18839c97/attachment.htm>
More information about the developers
mailing list