Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Arduino IDE #1

Closed
wollewald opened this issue Apr 5, 2024 · 2 comments
Closed

Compatibility with Arduino IDE #1

wollewald opened this issue Apr 5, 2024 · 2 comments

Comments

@wollewald
Copy link

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

  • Add an example how to use the results to adjust an RTC like DS3231 or a Software RTC, for example
  • Maybe try with FreeRTOS to enable users to do other tasks in parallel (not sure if this will work!).

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

@1ux
Copy link
Owner

1ux commented Apr 5, 2024

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
Copy link
Author

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

@1ux 1ux closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants