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

pfalcon / micropython / 822 / 1
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 06 Apr 2017 08:58PM UTC
Files 222
Run time 48min
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

06 Apr 2017 08:47PM UTC coverage: 98.071% (+98.1%) from 0.0%
822.1

push

travis-ci

pfalcon
extmod/machine_signal: Support all Pin's arguments to the constructor.

This implements the orginal idea is that Signal is a subclass of Pin, and
thus can accept all the same argument as Pin, and additionally, "inverted"
param. On the practical side, it allows to avoid many enclosed parenses for
a typical declararion, e.g. for Zephyr:

Signal(Pin(("GPIO_0", 1))).

Of course, passing a Pin to Signal constructor is still support and is the
most generic form (e.g. Unix port will only support such form, as it doesn't
have "builtin" Pins), what's introduces here is just practical readability
optimization.

17182 of 17520 relevant lines covered (98.07%)

322636.51 hits per line

Source Files on job 822.1
  • Tree
  • List 0
  • Changed 132
  • Source Changed 1
  • Coverage Changed 132
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 822
  • Travis Job 822.1
  • e8d574ee on github
  • Prev Job for on signal-subclass-pin-constructor (#820.1)
  • Next Job for on signal-subclass-pin-constructor (#827.1)
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

© 2026 Coveralls, Inc