Long story short, I’m slowly dying due to an assignment that’s due tomorrow that I’ve been fruitlessly bashing my head against since last week. I’d prefer to be able to meet up with someone to hash this out later today(Tuesday, 10/3), but digital assistance is preferable to nothing.
I need to get Arduino and Processing to talk long enough for Processing to read what characters Arduino is sending it and then alter variables based on that information.
There have to be six circuits, each is only completed if wires are touched together; while they’re not connected, I need Arduino not to be sending anything, or sending something useless. When they are connected, whatever pins are connected need to send Processing information it can use to change variables and check to see if all everything checks out.
So, if the circuits are a1,a2,b1,b2,c1,c2, all I’m doing is making sure the a’s are equal, then the b’s, then the c’s, by changing their values to either 1 or 0 based on the input from Arduino(If a circuit is completed it’s supposed to go from 0 to 1). If everything checks out, the screen should be green. If not, it should be red.
I’ve gotten Arduino to at least send an alternating message of “!” and “?” to the Processing console, but I can’t seem to get it to change based on a completed circuit(I told it to send a “A” instead if it’s a completed circuit and electricity is getting to the right pin). I did find out that completing my circuit just turns off Arduino though, and I have no idea how to fix that.