Skip to content

Commit

Permalink
Sync with 'moonPhase'.
Browse files Browse the repository at this point in the history
  • Loading branch information
CelliesProjects committed Jul 26, 2019
1 parent 0e6962d commit b4e2e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moonSimtask.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ void IRAM_ATTR moonSimtask ( void * pvParameters )

while (1)
{
moonData = moonPhase.getInfo();
moonData = moonPhase.getPhase();

ESP_LOGI( TAG, "Moon phase updated: %i degrees %.6f%% lit", moonData.angle, moonData.percentLit * 100 );

Expand Down

0 comments on commit b4e2e43

Please sign in to comment.