First arduino impl. to drive the si5351 breakout board. Command control module moved to firmware folder.

This commit is contained in:
klaute 2016-09-17 20:50:47 +02:00
parent b19f6f65d8
commit a32478ca78
5 changed files with 6 additions and 3 deletions

View file

@ -1,12 +1,12 @@
/*
*/
#include "si5351.h"
#include <si5351.h>
#include "Wire.h"
extern "C" {
/*extern "C" {
#include "command_ctrl.h"
}
}*/
Si5351 si5351;
@ -22,6 +22,9 @@ void setup()
// Set CLK1 to output 20 MHz
si5351.set_freq(2000000000ULL, 0ULL, SI5351_CLK1);
si5351.output_enable(SI5351_CLK0, 1); // enable clock output 0
si5351.drive_strength(SI5351_CLK0, SI5351_DRIVE_2MA); // 2 4 6 8ma
}
void loop()