astronomy icon indicating copy to clipboard operation
astronomy copied to clipboard

create Arduino Lib

Open DannyRavi opened this issue 1 year ago • 2 comments

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.

DannyRavi avatar Sep 12 '24 09:09 DannyRavi

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: @.***>

cosinekitty avatar Sep 12 '24 13:09 cosinekitty

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.

DannyRavi avatar Sep 12 '24 14:09 DannyRavi

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.

pgeschwi avatar Feb 02 '25 22:02 pgeschwi