MODSERIAL with support for more devices
Dependents: 1D-Pong BMT-K9_encoder BMT-K9-Regelaar programma_filter ... more
Check the cookbook page for more information: https://mbed.org/cookbook/MODSERIAL
Did you add a device? Please send a pull request so we can keep everything in one library instead of many copies. In that case also send a PM, since currently mbed does not inform of new pull requests. I will then also add you to the developers of this library so you can do other changes directly.
Diff: example_dma.cpp
- Revision:
- 11:a93a62eeeb9d
- Parent:
- 9:b3cdae80e7a9
- Child:
- 12:8c7394e2ae7f
--- a/example_dma.cpp Wed Nov 24 00:23:55 2010 +0000 +++ b/example_dma.cpp Wed Nov 24 00:33:40 2010 +0000 @@ -85,7 +85,7 @@ led1 = 0; // Send the buffer s using DMA channel 7 - pc.attach_dma_complete( &dmaComplete ); + pc.attach_dmaSendComplete( &dmaComplete ); pc.dmaSend( s1, sizeof(s1), MODDMA::Channel_7 ); for (int loop = 0; loop < 512; loop++) {