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 AD9850 function generator SPI driver by
Revision 3:a643b6a454aa, committed 2013-10-24
- Comitter:
- ptamike
- Date:
- Thu Oct 24 12:35:18 2013 +0000
- Parent:
- 2:e9d2346ea1bb
- Commit message:
- Corrected pin numbers in comments
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Oct 23 23:17:55 2013 +0000 +++ b/main.cpp Thu Oct 24 12:35:18 2013 +0000 @@ -6,8 +6,8 @@ SPI device (PTD2, PTD3, PTD1); // Set the KL25Z SPI pins -DigitalOut CS(PTD0); // Use pin P0_17 as a fake Chip select -DigitalOut ADReset(PTA13); // Use Pin P0_7 as the reset line for AD9850 +DigitalOut CS(PTD0); // Use pin PTD0 as a fake Chip select +DigitalOut ADReset(PTA13); // Use Pin PTA13 as the reset line for AD9850 Serial pc(USBTX, USBRX); // tx, rx for debug terminal
