# A function to send TTL trigger via parallel port under linux

**URL:** <https://psychtoolbox.discourse.group/t/a-function-to-send-ttl-trigger-via-parallel-port-under-linux/76>\
**Category:** Uncategorized\
**Created:** [October 30, 2017, 3:25am UTC](https://psychtoolbox.discourse.group/t/a-function-to-send-ttl-trigger-via-parallel-port-under-linux/76 "2017-10-30T03:25:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [October 30, 2017, 3:25am UTC](https://psychtoolbox.discourse.group/t/a-function-to-send-ttl-trigger-via-parallel-port-under-linux/76/1 "2017-10-30T03:25:46Z")

</div>

Hi all,
  

  

Just shares a function to send TTL via the parallel port under Linux.

  

Please visit the below website to get the file. 

  

[http://web.suda.edu.cn/yzhangpsy/projects.html](http://web.suda.edu.cn/yzhangpsy/projects.html)  

  

Best 

  

Yang Zhang  

------------------------------------------------

Department of Psychology

SooChow University

Dushu Lake Campus  

No.1 Wenjin Street, Industrial park  

Suzhou, Jiangsu, 215123, China

  

Email: [yzhangpsy@...](mailto:yzhangpsy@...)

 Or: [zhangyang873@...](mailto:zhangyang873@...)

 Or: yangzhangpsy[@](mailto:zhangyang873@...)[163.com](http://163.com)  

Web : [http://web.suda.edu.cn/yzhangpsy/index.html](http://web.suda.edu.cn/yzhangpsy/index.html)

------------------------------------------------

--   

  

Yang Zhang  

------------------------------------------------

Department of Psychology

SooChow University

Dushu Lake Campus  

No.1 Wenjin Street, Industrial park  

Suzhou, JiangSu, 215123, China

  

Email: [yzhangpsy@...](mailto:yzhangpsy@...)

 Or: [zhangyang873@...](mailto:zhangyang873@...)

 Or: yangzhangpsy[@](mailto:zhangyang873@...)[163.com](http://163.com)  

Web : [http://web.suda.edu.cn/yzhangpsy/index.html](http://web.suda.edu.cn/yzhangpsy/index.html)

------------------------------------------------
