hi,
i would like "Translate" this Code to B4R:
https://www.qrp-labs.com/images/synth/demo4/oscillator.ino
i have problem with some Lines:
and with this:
How can i write this in B4R (or it is better to use the C Code?)
i would like "Translate" this Code to B4R:
https://www.qrp-labs.com/images/synth/demo4/oscillator.ino
i have problem with some Lines:
B4X:
Si5351a_Write_Reg (26, (MSNA_P3 & 65280) >> 8);
'-> Logical AND and SHIFT (?)
and with this:
B4X:
while (outdivider > 900){ // If output divider out of range (>900) use additional Output divider
R = R * 2;
outdivider = outdivider / 2;
}
if (outdivider % 2) outdivider--; // finds the even divider which delivers the intended Frequency
How can i write this in B4R (or it is better to use the C Code?)