Mike Richards / Mbed 2 deprecated AD9850-function-generator-SPI-driver

Dependencies:   mbed

Fork of AD9850 function generator SPI driver by Liam G

Files at this revision

API Documentation at this revision

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