create Arduino Lib
Hi @cosinekitty
I suggest to create a branch for Arduino lib and keep only Arduino related files in it (delete others) to add this project to Arduino package manager.
That sounds fine to me. I won’t be able to work on this for the next couple of weeks, but I will come back and do this. Thank you for your work on this!On Sep 12, 2024, at 5:56 AM, Danny Khosravi @.***> wrote: Hi @cosinekitty I suggest to create a branch for Arduino lib and keep only Arduino related files in it (delete others) to add this project to Arduino package manager.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
On Sep 12, 2024, at 5:56 AM, Danny K
Great, so I'll be waiting for you to come back to continue. have a good time.
For what it's worth, I gave this library a go in an ESP32 based project and was able to get the functions I was looking for to run. I did not do a broad test yet. Compiling resulted in "Microsecond time resolution is not supported" and asked to
"Define ASTRONOMY_ENGINE_WHOLE_SECOND to use second resolution instead"
For some reason, defining ASTRONOMY_ENGINE_WHOLE_SECOND or ASTRONOMY_ENGINE_NO_CURRENT_TIME in my main sketch did not change anything. I added
#define ASTRONOMY_ENGINE_NO_CURRENT_TIME
in astronomy.c which did the trick
I tested a couple functions on ESP32-WROOM and ESP32-C3 successfully.