Pass changing analog value from void loop to library .h file
How would I go about passing a void loop analog read value to a library .h file?


What you wanted to do makes little sense. But it is certainly doable. The simplest would be to use an "extern" variable as a bridge.