Well the video of that suit I showed you guys has gone viral. I’m getting all the calls from the media now. I need to really make sure my code is solid now before I go on TV with it. Here is the video https://www.youtube.com/watch?v=Moe97Apzukg
At the beginning of your loop code, you read the analog value of A3, then at the end of the loop the checkInput() function is also checking the A3 pin of your switch. Out of curiosity, why did you wire up an analog pin for a button, out of digital ones?
I thought it didn’t matter. That button wire happened to be grouped with the pot and mic wires so I just plugged them all in next to each other. I probably saw code example too using analog.
Can anyone tell me why I get different values when measuring analog signals when plugged into USB? When it’s running on the suit I’m using the vin plug and gnd for exactly 5 volts in. Is this the correct way?
Hadn’t seen that before. Good to know. Is never calling that the same as calling this analogReference(DEFAULT) or no? Would be using default or AREF? I seems default would be good for my needs right?
When using my 5v converter I’ve never even seen the voltage go to 5.1 so maybe that in itself is protecting me. Seems easiest to just solder up a connector to go into USB port