Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 5 months ago.
How to make a digitalout pin keep 1 for a certaine time,when another digitalout pin is working?
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
11 years, 5 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.