Skip to content

Commit

Permalink
Merge pull request #5 from etherkit/libupdate
Browse files Browse the repository at this point in the history
Update example sketch to be compliant with Si5351Arduino v2.0.0
  • Loading branch information
NT7S authored Dec 1, 2016
2 parents 01fc48d + 436cd84 commit b1a8d5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,17 +229,21 @@ Also, a big thank you to Murray Greenman, ZL1BPU for working allowing me to pick

Changelog
---------
* v1.1.1

* Update example sketch for Si5351Arduino v2.0.0

* v1.1.0

Added FSQ
* Added FSQ.

* v1.0.1

Fixed a bug in jt65_interleave that was causing a buffer overrun.
* Fixed a bug in jt65_interleave that was causing a buffer overrun.

* v1.0.0

Initial Release
* Initial Release.

License
-------
Expand Down
5 changes: 2 additions & 3 deletions examples/Si5351JTDemo/Si5351JTDemo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void encode()

for(i = 0; i < symbol_count; i++)
{
si5351.set_freq((freq * 100) + (tx_buffer[i] * tone_spacing), 0, SI5351_CLK0);
si5351.set_freq((freq * 100) + (tx_buffer[i] * tone_spacing), SI5351_CLK0);
proceed = false;
while(!proceed);
}
Expand Down Expand Up @@ -225,10 +225,9 @@ void setup()
// Initialize the Si5351
// Change the 2nd parameter in init if using a ref osc other
// than 25 MHz
si5351.init(SI5351_CRYSTAL_LOAD_8PF, 0);
si5351.init(SI5351_CRYSTAL_LOAD_8PF, 0, 0);

// Set CLK0 output
si5351.set_correction(0);
si5351.drive_strength(SI5351_CLK0, SI5351_DRIVE_8MA); // Set for max power if desired
si5351.output_enable(SI5351_CLK0, 0); // Disable the clock initially

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Etherkit JTEncode
version=1.1.0
version=1.1.1
author=Jason Milldrum <[email protected]>
maintainer=Jason Milldrum <[email protected]>
sentence=Generate JT65, JT9, JT4, WSPR, and FSQ symbols on your Arduino.
Expand Down

0 comments on commit b1a8d5d

Please sign in to comment.