You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,9 @@ Before you do anything with the Si5351, you will need to include the "si5351.h"
51
51
52
52
Now in the _Setup()_ function, let's initialize communications with the Si5351, specify the load capacitance of the reference crystal, that we want to use the default reference oscillator frequency of 25 MHz (the second argument of "0" indicates that we want to use the default), and that we will apply no frequency correction at this point (the third argument of "0"):
The _init()_ method returns a _bool_ which indicates whether the Arduino can communicate with a device on the I2C bus at the specified address (it does not verify that the device is an actual Si5351, but this is useful for ensuring that I2C communication is working).
55
57
56
58
Next, let's set the CLK0 output to 14 MHz:
57
59
@@ -277,12 +279,15 @@ Public Methods
277
279
*
278
280
* xtal_load_c - Crystal load capacitance. Use the SI5351_CRYSTAL_LOAD_*PF
279
281
* defines in the header file
280
-
* ref_osc_freq - Crystal/reference oscillator frequency in 1 Hz increments.
282
+
* xo_freq - Crystal/reference oscillator frequency in 1 Hz increments.
281
283
* Defaults to 25000000 if a 0 is used here.
282
284
* corr - Frequency correction constant in parts-per-billion
283
285
*
286
+
* Returns a boolean that indicates whether a device was found on the desired
0 commit comments