Can I use this library on another microcontroller? #4
FrancescoCrevatin
started this conversation in
General
Replies: 2 comments 2 replies
-
This library isn't directly compatible with C, but here's a quick conversion: CSolarCalculator (zip) Usage is slightly different:
Notice the |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thank you @jpb10. I'll try next days. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi jpb10,
first of all: great job.
Meanwhile, I want to tell you that I used the library for an Arduino project and everything worked fine, only I found some problems with the "automatic" time calculation using: setTime (toUtc (compileTime ())) ;, so I used a clock (RTC) that gives time to the other function you created: setTime (hr, min, sec, day, mo, yr).
But I wanted to ask you, since I'm not very grasped in C programming and using libraries: Can I use the same library to write a program on another microcontroller? That is, I would need the same library in C, and it seems to me that it is in C, but I wanted to ask you for confirmation if I could use the exact same library on a microcontroller other than the Arduino family.
Thanks again for your availability.
Beta Was this translation helpful? Give feedback.
All reactions