Can you first explain what it needs to do?
PS
I don't do youTubes 8)
Can you first explain what it needs to do?
PS
I don't do youTubes 8)
it's to control the input of a pedal for a TIG welding machine, and convert the voltage from the potentiometer within the TIG Pedal into a pulsed voltage which will allow the TIG Welder to pulse, reducing heat on the metal being welded, as well as create some nice little weld circles.
I'm not a very good welder, and I can't master the pulsing with the pedal alone, like alot of very skilled TIG welders can do.
I went back and read the Original Poster's (on Youtube) code.
His code has this in it
int ADC1Vals[] = {0,0,0};
int ADC2Vals[] = {0,0,0};
under //Vars
But it doesn't mention them in the void setup() or the void loop()
I'm guessing that has something to do with the missing code under void ReadPots() but I don't know how to go about fixing that.
I know those ADC1Vals and ADC2Vals are an array, but what are the interger values they are trying to pull, and what is it doing with them? There's obviously 3 numbers coming from somewhere.