This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Arduino.h" | |
#include "SPI.h" | |
// Digital I/O used | |
#define AD9850_CS 21 | |
#define AD9850_RST 22 | |
// Global variables | |
uint32_t AD9850_CLOCK=125000000; // Module crystal frequency. Tweak here for accuracy. | |
uint32_t sweep=0; |