10 years, 9 months ago.

How to make a digitalout pin keep 1 for a certaine time,when another digitalout pin is working?

/media/uploads/Freddy/20130721_204632.jpg As shown in the photo above, how can i make the two pin work at the same time? and is there anyway i can increase the frequency to 48MHz? Thank you!

1 Answer

10 years, 9 months ago.

48Mhz? If you just want to toggle them you might make it with: http://mbed.org/users/AjK/code/SimpleIOMacros/file/cb1f38aaae0a/IOMacros.h (with the LPC1768). But anything else than toggling surely won't be possible at 48MHz with GPIO.

And I don't really understand your question. Do you want to write several pins at the same time? Use PortOut. But looking at your demands you either are solving the problem wrong, or you are using the wrong platform for your problem.