File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed
Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 11[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/8bc0dca32db84bb5a3b762be8d48d2b3 )] ( https://www.codacy.com/manual/CelliesProjects/moonPhase?utm_source=github.com& ; utm_medium=referral& ; utm_content=CelliesProjects/moonPhase& ; utm_campaign=Badge_Grade )
22### moonPhase
33
4- An ESP32 library to get the moon phase angle and percentage of the moon that is illuminated.
4+ An esp32 library to get the moon phase angle and percentage of the moon that is illuminated.
55
66#### Usage
77
8- 1 . Download the latest release and unpack in the esp32 ` libraries ` folder.
8+ 1 . Download the latest release and unpack in the Arduino ` libraries ` folder.
992 . Restart the Arduino IDE.
1010
11- | function | result |
12- | :-----------------| :-------------------------------------|
13- | ` getPhase() ` | Get the current moon phase.<br >( First set freeRTOS system time ) |
14- | ` getPhase( time_t t ) ` | Get the moon phase at time ` t ` . |
11+ #### Functions:
12+
13+ - ` moonPhase getPhase() ` Get the current moon phase. (First set freeRTOS system time)
14+
15+ - ` moonPhase getPhase( time_t t ) ` Get the moon phase at time ` t ` .
1516
1617#### Example code
1718
18- ```` c++
19+ ``` c++
1920#include < moonPhase.h>
2021
21- moonPhase moonPhase; // include a MoonPhase instance
22+ moonPhase moonPhase; // include a MoonPhase instance
2223
2324void setup () {
2425 Serial.begin(115200);
@@ -40,4 +41,4 @@ void loop() {
4041 // put your main code here, to run repeatedly:
4142
4243}
43- ````
44+ ```
Original file line number Diff line number Diff line change 11name =MoonPhase
2- version =1.0.0
3- author =Cellie
4- maintainer =Cellie
5- sentence =Get lunar phase information.
6- paragraph =ESP32 library to calculate the moon phase angle and luminated visible surface at a given time.
2+ version =1.0.1
3+ author =Cellie <CelliesProjects@users.noreply.github.com>
4+ maintainer =Cellie <CelliesProjects@users.noreply.github.com>
5+ sentence =Get lunar phase information on a esp32 .
6+ paragraph =Esp32 library to calculate the moon phase angle and luminated visible surface now or at a given time.
77category =Other
8- url =https://github.com/CelliesProjects/moonPhase
8+ url =https://github.com/CelliesProjects/moonPhase-esp32
99architectures =esp32
1010includes =moonPhase.h
You can’t perform that action at this time.
0 commit comments