ok it works, but it only spits out the data for those pins in the analog range that are connected to ground or not connected at all. the circuit just consists of 1 inductor, diodes, 1 rectifier but anyway im just confused why the presence of an analog circuit would affect the code working
i have just attached the ino because something odd is happening to firefox
Cannot see INO file on iPad, just paste the sketch in the post using the code icon.
Show us a schematic and a picture of your circuit.
What is the inductor, may have to use snubbing diode with it.
KenF, the 'j' is meant to be being picked up in the EEPROM write loop thats local i emphasize the word meant to be as well yea i wouldnt be asking for advice otherwise
arduidiot:
KenF, the 'j' is meant to be being picked up in the EEPROM write loop thats local i emphasize the word meant to be as well yea i wouldnt be asking for advice otherwise
Yep that i and j look identical if you don't bother to read the code in something suitable
no yea i wouldnt doubt that i may have may have mucked up but its just the fact that you get a perfect read out as i intended when i started writing it ( still doesnt mean the values are valid) but when mucking around with analog circuits it fails is what lead me to think this way
basically the ones not showing up are the probes connected to parts of the circuit where the rectifier blocks any readable dV/dt which is of course below 4.89 mV and you'll notice that thoses values show up when you vary the resistence with a potentiometer that gives it a greater than 0 dV/dt, thus the code for finding the average deviation converges to 4.89 mV prior to ceasing to produce a read out for that pin. i have a rough idea what to do.