File tree 2 files changed +16
-15
lines changed
2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1
1
[ ![ 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 )
2
2
### moonPhase
3
3
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.
5
5
6
6
#### Usage
7
7
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.
9
9
2 . Restart the Arduino IDE.
10
10
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 ` .
15
16
16
17
#### Example code
17
18
18
- ```` c++
19
+ ``` c++
19
20
#include < moonPhase.h>
20
21
21
- moonPhase moonPhase; // include a MoonPhase instance
22
+ moonPhase moonPhase; // include a MoonPhase instance
22
23
23
24
void setup () {
24
25
Serial.begin(115200);
@@ -40,4 +41,4 @@ void loop() {
40
41
// put your main code here, to run repeatedly:
41
42
42
43
}
43
- ````
44
+ ```
Original file line number Diff line number Diff line change 1
1
name =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
+
4
+ maintainer =Cellie
<[email protected] >
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.
7
7
category =Other
8
- url =https://github.com/CelliesProjects/moonPhase
8
+ url =https://github.com/CelliesProjects/moonPhase-esp32
9
9
architectures =esp32
10
10
includes =moonPhase.h
You can’t perform that action at this time.
0 commit comments