Minor fixups to KISS, now append FCS. Remove 19200 refclk for now.

This commit is contained in:
Stephen Olesen
2015-07-13 21:16:22 -06:00
parent ab7613c8d3
commit 638369d659
2 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,3 @@
#define DDS_REFCLK_DEFAULT 19200
#include <HamShield.h>
#include <Wire.h>
#include <KISS.h>
@@ -21,7 +19,7 @@ void setup() {
radio.setFrequency(145010);
I2Cdev::writeWord(A1846S_DEV_ADDR_SENLOW, 0x30, 0x06);
I2Cdev::writeWord(A1846S_DEV_ADDR_SENLOW, 0x30, 0x26);
I2Cdev::writeWord(A1846S_DEV_ADDR_SENLOW, 0x44, 0b0000011111111111);
I2Cdev::writeWord(A1846S_DEV_ADDR_SENLOW, 0x44, 0x05FF);
dds.start();
radio.afsk.start(&dds);