Skip to content

Commit b1a8d5d

Browse files
authored
Merge pull request #5 from etherkit/libupdate
Update example sketch to be compliant with Si5351Arduino v2.0.0
2 parents 01fc48d + 436cd84 commit b1a8d5d

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,17 +229,21 @@ Also, a big thank you to Murray Greenman, ZL1BPU for working allowing me to pick
229229

230230
Changelog
231231
---------
232+
* v1.1.1
233+
234+
* Update example sketch for Si5351Arduino v2.0.0
235+
232236
* v1.1.0
233237

234-
Added FSQ
238+
* Added FSQ.
235239

236240
* v1.0.1
237241

238-
Fixed a bug in jt65_interleave that was causing a buffer overrun.
242+
* Fixed a bug in jt65_interleave that was causing a buffer overrun.
239243

240244
* v1.0.0
241245

242-
Initial Release
246+
* Initial Release.
243247

244248
License
245249
-------

examples/Si5351JTDemo/Si5351JTDemo.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void encode()
149149

150150
for(i = 0; i < symbol_count; i++)
151151
{
152-
si5351.set_freq((freq * 100) + (tx_buffer[i] * tone_spacing), 0, SI5351_CLK0);
152+
si5351.set_freq((freq * 100) + (tx_buffer[i] * tone_spacing), SI5351_CLK0);
153153
proceed = false;
154154
while(!proceed);
155155
}
@@ -225,10 +225,9 @@ void setup()
225225
// Initialize the Si5351
226226
// Change the 2nd parameter in init if using a ref osc other
227227
// than 25 MHz
228-
si5351.init(SI5351_CRYSTAL_LOAD_8PF, 0);
228+
si5351.init(SI5351_CRYSTAL_LOAD_8PF, 0, 0);
229229

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

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Etherkit JTEncode
2-
version=1.1.0
2+
version=1.1.1
33
author=Jason Milldrum <[email protected]>
44
maintainer=Jason Milldrum <[email protected]>
55
sentence=Generate JT65, JT9, JT4, WSPR, and FSQ symbols on your Arduino.

0 commit comments

Comments
 (0)