We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc5437 commit 2f77ea6Copy full SHA for 2f77ea6
README.md
@@ -1,13 +1,19 @@
1
-# moonPhase
+### moonPhase
2
3
An ESP32 library to get the moon phase angle and percentage of the moon that is illuminated.
4
5
-#### Usage:
+#### Usage
6
7
1. Download the latest release and unpack in the esp32 `libraries` folder.
8
2. Restart the Arduino IDE.
9
10
-#### Example code:
+|function | result |
11
+|:-----------------|:-------------------------------------|
12
+| `getPhase()` | Get the current moon phase.<br>( First set freeRTOS system time ) |
13
+| `getPhase( time_t t )` | Get the moon phase at time `t`. |
14
+
15
+#### Example code
16
17
````c++
18
#include <moonPhase.h>
19
0 commit comments