1ux / DCF77Decode

Focusing on clean code, this library implements almost the entire public DCF77 standard in C.
GNU General Public License v3.0
5 stars 0 forks source link

Compatibility with Arduino IDE #1

Closed wollewald closed 6 months ago

wollewald commented 6 months ago

Hi @1ux ,thanks for your library. I have installed it in my Arduino library folder. Then I tried to find the example sketch via File -> Examples but it did not appear. You can easily fix that by creating a folder called ArduinoDCF77Decode under Examples and moving ArduinoDCF77Decode.ino into this folder.

The other issue is that the inclusion of the lib files did not work:

#include "src/basic_dcf77.h"
#include "src/DebugProject.h"

When I changed this to

#include<basic_dcf77.h>
#include<DebugProject.h>

then it worked.

Other recommendations:

Listening to the radio sequence and evaluation blocks the sketch for a complete minute. This limits the applicability. You could

However, a good start and nice idea to use pulseIn.

1ux commented 6 months ago

Thank you very much for your suggestions and for looking at this implementation. In fact, I am not very familiar with the peculiarities of the Arduino IDE. Does the realisation meet your expectations?

On the subject of scheduling: Well, you have undoubtedly addressed the major disadvantage of this implementation. Unfortunately, I can't offer such an implementation on the fly at the moment.

I hope you agree that I can publish them in the "Thanks to:" and link to them.

wollewald commented 6 months ago

Yes it works fine! And, of course, you can publish them in the Thanks to and link item.