If I want to make an alarm go off (audible noise) when pressure is detected (pushing down, clenching) on a pressure sensor where would I begin to figure out this coding? Because I can't just look at the coding for turning on the two sensors or sensor/actuator and combine the two.....
What will you be using as the alarm? And is when you push down on the pressor sensor and clenching it? Or just one? But what do you mean "clenching" it?
Because I can't just look at the coding for turning on the two sensors or sensor/actuator and combine the two.....
Why not? Clearly you have some code for reading the sensor(s) and you have some code for turning the noise maker on. Surely you can tell which is which.
Read the sensor value. If it exceeds some threshold, turn the noise maker pin on. Otherwise, turn the noise maker pin off before the neighbors shoot you.