If I try to use the "set analog pin" block, then I can no longer set the value to "HIGH"; it must be a numeric value. (See below.)
Is there something I'm missing here? Or is this just one of the limitations of using Ardublock? I'm fine manually entering the extra line of code myself, but I'm trying to teach Arduino/Ardublocks to students who are learning to code for the first time, and I'd like for it to be as seamless as possible. So if there's a simple way to do this using ArduBlocks, I'd love any help.
Thanks!
So, it appears that Marcus's solution works to a degree. However, using the "set digital pin" block in ArduBlock automatically creates the "pinMode (15, OUTPUT);" line, which renders the use of that pin as an input useless.
Any other ideas?
Thanks,
Matthew
--
You received this message because you are subscribed to the Google Groups "Ardublock" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ardublock+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.