Skip to content

Commit 73900c0

Browse files
Update to 1.0.1.
1 parent 8ff5c35 commit 73900c0

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
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.
99
2. 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

2324
void setup() {
2425
Serial.begin(115200);
@@ -40,4 +41,4 @@ void loop() {
4041
// put your main code here, to run repeatedly:
4142

4243
}
43-
````
44+
```

library.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
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+
author=Cellie <[email protected]>
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.
77
category=Other
8-
url=https://github.com/CelliesProjects/moonPhase
8+
url=https://github.com/CelliesProjects/moonPhase-esp32
99
architectures=esp32
1010
includes=moonPhase.h

0 commit comments

Comments
 (0)