shpi / pi3d_ui_application

3 stars 6 forks source link

dial drawing and last tick #2

Closed paddywwoof closed 4 years ago

paddywwoof commented 4 years ago

shpi/dial.Dial not going full angle on right side and last tick not drawing properly

paddywwoof commented 4 years ago

not going full angle due to behaviour of range(x,y,z) -> excludes z so needs to add one to end point. however not clear why last tick not drawn properly.

paddywwoof commented 4 years ago

fixed last tick. Due to setting end of slice = len - 1 (!) see https://github.com/shpi/zero_main_application/commit/deb888341e6d5f33f8d1878128899d149042c73b