Integrating the dual functionalities of a photodetector
and photonic
synapse into a single device is challenging due to their conflicting
requirements for photocurrent decay rates. This study addresses this
issue by seamlessly depositing transparent indium tin oxide (ITO)
electrodes onto self-oriented copper hexadecafluoro-phthalocyanine
(F16CuPc) nanowires growing horizontally along hot-stamped
periodic nanogrooves on a transparent flexible polyimide plastic film.
This in-situ-fabricated device achieves bending-stable dual functionalities
through wavelength regulation while maintaining high transparency
and flexibility. Upon exposure to 450–850 nm light, the device
exhibits a rapid and sensitive photoresponse with excellent bending
stability, making it ideal for optical sensing in both visible and
near-infrared spectra. More importantly, the device exhibits a bending-stable
excitation postsynaptic current when exposed to light spikes below
405 nm. This enables the successful emulation of various biological
synaptic functionalities, including paired-pulse facilitation, spike-number-dependent
plasticity, spike-duration-dependent plasticity, spike-rating-dependent
plasticity, configurable plasticity between short-term plasticity
and long-term plasticity, and memory learning capabilities. Utilizing
this device in an artificial neural network achieves a recognition
rate of 95% after 57 training epochs. Its ability to switch between
photodetection and synaptic modes by adjusting the light wavelength
marks a significant advancement in the field of multifunctional flexible
electronics based on nanowire arrays.