Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Using DigitalWrite to send multiple TTL Pulses at the same time

Subject: Using DigitalWrite to send multiple TTL Pulses at the same time

From: Patrick

Date: 5 Apr, 2013 21:46:15

Message: 1 of 1

Hello Everyone,

I am trying to use digitalWrite from ArduinoIO to switch multiple pins from 0V to 5V at the same time. The command appears to only allow for one pin to be used at a time.
I have tried doing for loops and sending them in the same line but their is a a noticeable delay.

Can someone recommend a way to send multiple TTL pulses at the same time? Is there a way to do this? I have seen some people making attempts to do this using the Arduino IDE, but I am trying to make progress just through MATLAB, so the code is not that helpful.

Thanks.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us