[GH-ISSUE #29] Wind direction icon is 180 degrees off #1111

Closed
opened 2026-03-20 19:04:46 +01:00 by sascha_hemi · 1 comment
Owner

Originally created by @bartbh on GitHub (May 7, 2023).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/29

The icon displaying the wind direction is 180 degrees off. A wind of 90 degrees means wind coming from the east, blowing to the west. So an arrow starting at 90 degrees (east) and pointing toward 270 (west).

2060edb54c/ESP32_AP-Flasher/src/contentmanager.cpp (L1003)

Suggestion would be to shift the wind direction index (8 directions) by 4

    String directions[] = {"\uf058", "\uf087", "\uf048", "\uf043","\uf044", "\uf088", "\uf04d", "\uf057"};
Originally created by @bartbh on GitHub (May 7, 2023). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/29 The icon displaying the wind direction is 180 degrees off. A wind of 90 degrees means wind coming from the east, blowing to the west. So an arrow starting at 90 degrees (east) and pointing toward 270 (west). https://github.com/jjwbruijn/OpenEPaperLink/blob/2060edb54c1528a21f87024fe54d82542fbc1867/ESP32_AP-Flasher/src/contentmanager.cpp#L1003 Suggestion would be to shift the wind direction index (8 directions) by 4 ```suggestion String directions[] = {"\uf058", "\uf087", "\uf048", "\uf043","\uf044", "\uf088", "\uf04d", "\uf057"}; ```
Author
Owner

@jjwbruijn commented on GitHub (May 7, 2023):

Thank you!

<!-- gh-comment-id:1537415729 --> @jjwbruijn commented on GitHub (May 7, 2023): Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#1111