Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MODDMA by
Diff: example1.cpp
- Revision:
- 6:40d38be4bb59
- Parent:
- 5:c39b22fa0c60
- Child:
- 7:347110c7aefc
--- a/example1.cpp Tue Nov 23 16:04:32 2010 +0000 +++ b/example1.cpp Tue Nov 23 21:34:21 2010 +0000 @@ -2,13 +2,14 @@ #include "mbed.h" #include "MODDMA.h" +#include "MODSERIAL.h" DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3); DigitalOut led4(LED4); MODDMA dma; -Serial pc(USBTX, USBRX); +MODSERIAL pc(USBTX, USBRX); // Function prototypes for IRQ callbacks. // See definitions following main() below.
