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 jro by
Diff: JroDDS.h
- Revision:
- 3:f0e6c145b075
- Parent:
- 2:3d8d52e9751c
- Child:
- 4:de495ce256b8
--- a/JroDDS.h Thu Feb 05 19:01:42 2015 +0000
+++ b/JroDDS.h Thu Feb 05 21:31:37 2015 +0000
@@ -5,18 +5,17 @@
#define SPI_MODE 0
#define SPI_FREQ 10000
-#define CMD_RESET 0X01
-#define CMD_ENABLE_RF 0x02
-#define CMD_MULTIPLIER 0X10
-#define CMD_MODE 0x11
-#define CMD_FREQUENCY1 0X12
-#define CMD_FREQUENCY2 0x13
-#define CMD_PHASE1 0X14
-#define CMD_PHASE2 0x15
-#define CMD_AMPLITUDEI 0X16
-#define CMD_AMPLITUDEQ 0x17
-#define CMD_READ 0x8000
-#define CMD_CHANGE_IP 0x40
+#define DDS_CMD_RESET 0X10
+#define DDS_CMD_ENABLE_RF 0x11
+#define DDS_CMD_MULTIPLIER 0X12
+#define DDS_CMD_MODE 0x13
+#define DDS_CMD_FREQUENCY1 0X14
+#define DDS_CMD_FREQUENCY2 0x15
+#define DDS_CMD_PHASE1 0X16
+#define DDS_CMD_PHASE2 0x17
+#define DDS_CMD_AMPLITUDEI 0X18
+#define DDS_CMD_AMPLITUDEQ 0x19
+#define DDS_CMD_READ 0x8000
class DDS{
private:
