• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pybricks / pybricks-micropython / 19922415540
56%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2025 08:27AM UTC
Jobs 2
Files 137
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Dec 2025 08:25AM UTC coverage: 56.593% (-0.06%) from 56.648%
19922415540

push

github

web-flow
pbio/drv/display: Improve conversion from HSV to pixel value.

Use a mapping trying to match the real pixel color, select the nearest
pixel value according to the input color.

Small test program:

  from pybricks.hubs import ThisHub
  from pybricks.parameters import Color
  from pybricks.tools import wait

  hub = ThisHub()

  i = hub.screen

  for y in range(i.height):
      for x in range(i.width):
	  i.draw_pixel(x, y, Color(0, y * 100 / (i.height - 1), x * 100 / (i.width - 1)))

  wait(50000)

Closes: https://github.com/pybricks/support/issues/2442

0 of 10 new or added lines in 2 files covered. (0.0%)

4614 of 8153 relevant lines covered (56.59%)

16506684.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% pybricks/parameters/pb_type_image.c
9
62.5
-24.46% lib/pbio/drv/display/display_virtual.c
Jobs
ID Job ID Ran Files Coverage
1 PBIO - 19922415540.1 04 Dec 2025 08:29AM UTC 73
66.5
GitHub Action Run
2 virtualhub - 19922415540.2 04 Dec 2025 08:27AM UTC 115
44.76
GitHub Action Run
Source Files on build 19922415540
  • Tree
  • List 137
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19922415540
  • 6bc54faa on github
  • Prev Build on btstack (#19921717556)
  • Next Build on master (#19950155620)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc