Posted 25 December 2016 - 03:34 PM
Hi, new here and still learning. Have another question, a problem I ran into.
I'm creating a program with craftOS 1.3. The program is meant to have bundled cable outputs assigned to different colors of wire. I found that I cannot toggle the outputs. I can turn on say blue1, to turn it off I either have to turn all off with 0 or turn on another say white2. Is there a way to toggle the outputs individually without affecting the others? I read that this couldn't be done, but I'm not sure. If this isn't possible, is there a way to have my os.pullEvent allow for a word/number i.e. more than 1 character or something…
If I run say 10 outputs and have them all indivually coded aswell as different configurations say blue+white+gray or red+gray+blue+white… thats what… the powerset of 10?… thats not even possible to code… (for me anyways, lol). And for all 16 colors… 65,536 configurations… is there any way around this or would I literally just have to code all that? Not to mention that pretty quickly all of your keys on the keyboard are used..
Could someone help me or give me a quick reference to information about this? Thanks again!
I'm creating a program with craftOS 1.3. The program is meant to have bundled cable outputs assigned to different colors of wire. I found that I cannot toggle the outputs. I can turn on say blue1, to turn it off I either have to turn all off with 0 or turn on another say white2. Is there a way to toggle the outputs individually without affecting the others? I read that this couldn't be done, but I'm not sure. If this isn't possible, is there a way to have my os.pullEvent allow for a word/number i.e. more than 1 character or something…
If I run say 10 outputs and have them all indivually coded aswell as different configurations say blue+white+gray or red+gray+blue+white… thats what… the powerset of 10?… thats not even possible to code… (for me anyways, lol). And for all 16 colors… 65,536 configurations… is there any way around this or would I literally just have to code all that? Not to mention that pretty quickly all of your keys on the keyboard are used..
Could someone help me or give me a quick reference to information about this? Thanks again!
Edited on 25 December 2016 - 03:30 PM