using a USB cable as extension for a sensor

oh well, the USB cable would with the second idea just transmit the signal to the flash.

so basicly the D+ goes to PIN 12 and D- goes to GND.
then i'd switch Pin12->HIGH wait 100ms and switch Pin12->LOW

so the USB Cable would only be needed to send a signal quite fast. but no analog readout where it would need to be precise