Simultaneous Pulses w/ picture now

I need to run, in 03 output pins, pulses as shown in picture below.

Watch that is a time when the cycles are simultaneous.

Any idea to programming this?

luis.avoletta@braskem.com.br

Hmm,

The picture doesn't seem to be working. But if I understand what you want to do, that is analyzing some digital signals. You may want a support circuit which interfaces with the Arduino.

I answered you in portuguese, but I´ll reply here too, just in case other ones (not portuguese speakers) need the same answer:
If you need timing precision on simultaneous but different output pins, you can use port manipulation:

use timer2 to create a 20ms timer interrupt. Use that to keep track of when to start generating signals then to generate the signals.

maybe like:

unsigned long timercount

timer2 interrupt(){
timercount++

digitalWrite (pin1, 1&(timercount / 4))

if(timercount>= 100){
digitalWrite (pin2, 1&(timercount / 2))
}

if(timercount>= 200){
digitalWrite (pin3, 1&timercount )
}

}