I am very new to using the Arduino platform and have a (hopefully) quick question about how to implement what I am trying to do - thought I would ask quickly before I blow a board trying...
I want to set a digital input (either Low and set High or Pulled up and then set low). I also want to illuminate an LED when I do this and do not want to use another pin for the LED.
I am thinking I can use the following:
If I set pin A0 as INPUT, will this setup light the LED and be seen as HIGH on the input without blowing anything up? (Note: 5V and GND are the same as powering the Nano)