pimoroni / enviro

MIT License
104 stars 83 forks source link

Wind direction reading can be off when taken during transition #20

Closed lowfatcode closed 2 years ago

lowfatcode commented 2 years ago

Perhaps a way to fix would be to take 5 readings and accept the most common value.

lowfatcode commented 2 years ago

Fixed in https://github.com/pimoroni/enviro/commit/54beb5c878fc1e255261fcb6e3da48af08be1111

Takes readings until two match.