Fixed I hope!
Attachments
-
16.5 KB Views: 149
I reckon you might be on a winner designing your own boards, good luck.I had a track on pin 2 of the Si5351 that would not delete, then I managed to find how to edit the length to run it onto the TCXO out pin so it looks to be connected now.
View attachment 3366
I do doubt this is all correct enough to get boards made.
This is quite different to drive compared to my McCAD PCB program.
#define SSD1306_used // comment out if the older SH110X OLED driver is used
//#define SSD1306_used // comment out if the older SH110X OLED driver is used
#ifdef SSD1306_used
#include <Adafruit_SSD1306.h>
#else #include <Adafruit_SH110X.h>
#endif
#ifdef SSD1306_used
#include <Adafruit_SSD1306.h>
#else
#include <Adafruit_SH110X.h>
#endif
Subtle difference , line by line instruction??While making the code posted above, I tried to have a compile option for the 2 displays.
I could not get it to work for both displays, and it came up with compile error. Of course the error message was not where the problem actually was.
The following allows the selection.
Having the line active selects the SSD1306 display...
Having the line commented out selects the SH110X display...Code:#define SSD1306_used // comment out if the older SH110X OLED driver is used
Then, the appropriate library is installed. But it (and similar entries that control the display operation) did not work for the SH110X version, but came up with an error, even though the SSD1306 version that used the same code worked!Code://#define SSD1306_used // comment out if the older SH110X OLED driver is used
.Code:#ifdef SSD1306_used #include <Adafruit_SSD1306.h> #else #include <Adafruit_SH110X.h> #endif
It turns out to be pretty simple, but I did not know the syntax needed.
The fix is...
Can you spot the difference?Code:#ifdef SSD1306_used #include <Adafruit_SSD1306.h> #else #include <Adafruit_SH110X.h> #endif
This only took me quite a few hours to find!
.
probably too late now, but come around, happy to give you some time one on one to learn KICAD enough to edit.I had a track on pin 2 of the Si5351 that would not delete, then I managed to find how to edit the length to run it onto the TCXO out pin so it looks to be connected now.
View attachment 3366
I do doubt this is all correct enough to get boards made.
This is quite different to drive compared to my McCAD PCB program.