By mysparkfun71451 - Tue Jan 28, 2020 8:26 pm
- Tue Jan 28, 2020 8:26 pm #211697
Can I cross connect digital pins to analog pins on the RedBoard Artemis (DEV-15444)? I am setting the voltage on the D+ and D- wires of a USB cable with connections to digital pins that are configured as OUTPUTs for voltages of 0 or 3.3V or INPUTs for a floating state between 0 and 3.3V that is set by a voltage divider circuit. I want to monitor the voltage on the D+ and D- wires by connecting them to analog pins configured as INPUTs and then using analogRead() and Serialprint() to display the values. This will result in a cross connection between the digital and analog pins. The USB cable is providing power to the RedBoard via connections to VIN and GND.