What command line allows to measure the voltage named “val” that is seen at the Arduino input pin A5.
^ My professor asked me this but I am so confused if it is specific to the code or what?
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
I suggest you look up your notes from lectures, it is there, trust me
A clue for you
It is not a digital (either 0V or 5V) signal, so it must be an analogue signal. Which Arduino function would you use to read an analogue input ?
Let’s just assume the voltage to be measured is within the range of the particular analog input.
In ArduinoLand, you might look at analogRead(),, and scaling that value to reflect voltage, rather than a raw data number.
I've deleted some unhelpful replies. Please only reply if you have something helpful to say.
Unhelpful replies risk a rest from the forum.
Thank you
Where exactly is it named?