Stimulus pattern generator for electrophysiological experiments using the gpio's on the raspberry pi