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

pfalcon / micropython / 822
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 06 Apr 2017 08:58PM UTC
Jobs 1
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

pending completion
822

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

Jobs
ID Job ID Ran Files Coverage
1 822.1 06 Apr 2017 08:58PM UTC 0
98.07
Travis Job 822.1
Source Files on build 822
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #822
  • e8d574ee on github
  • Prev Build on signal-subclass-pin-constructor (#820)
  • Next Build on signal-subclass-pin-constructor (#827)
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