Comments (6)
Thanks for the report! For some reason I thought packaging
was builtin; I'll open up a PR adding it as a dependency soon. I'll also be uncapping a lot of the dependency versions upper ends.
It appears that when no boards are found, the provided list is empty, and stuff errors out. I'll also add in logic to handle this more gracefully.
from belay.
I'll be fixing this probably within a week; ideally I'd like to incorporate some upstream Questionary changes once they get merged in.
from belay.
cool, btw, while you're at it
using the SPARKFUN_PROMICRO-20230426-v1.20.0.uf2 board
❯ belay select
? Select USB Device (Use arrow keys):
vid pid serial_number manufacturer product location
6991 38 e46198412311232b MicroPython Board in FS mode 20-7
Implementation(name='micropython', version=(1, 19, 1), platform='rp2', emitters=('native', 'viper'))
? Blink LED Pin Number [skip]? 25
? Is this a NeoPixel? Yes
NameError: name 'pixel' isn't defined
handling the error could be nice.
curious what board and 'mpconfigboard.h' you're using and how you ensure the mpy board has the pixel defined
from belay.
Fixed in #135, will be a part of v0.20.1, which ill be releasing very soon
from belay.
sorry, I didn't notice your last comment, I'll also fix that right now; will be a part of v0.20.1 as well. That's a super simple bug that just slipped through the cracks (those have to be tested manually, not by CI).
EDIT: so the actual issue is that I had Ruff autofix enabled, which was removing the variable since it thought it was being unused. So it was certainly correctly working at one point, but was autofixed during a commit. This is also now fixed in #137
from belay.
top!
from belay.
Related Issues (20)
- global scope vars can't be accessed if reassigned in task HOT 3
- Bug: `setup` with arguments fails HOT 5
- API for interrupts / callbacks HOT 18
- Can one return bytes or bytearray from task decorated function? HOT 5
- How to control memory allocation HOT 5
- LED Example does not run HOT 3
- Using belay in a class HOT 10
- AttributeError: type object 'Executer' has no attribute 'setup' HOT 2
- Find available devices HOT 13
- `Yield` returns `None` HOT 4
- Using Pimoroni libraries HOT 4
- Timed generator helper function HOT 3
- Injecting methods HOT 9
- Send event/request from board/device HOT 5
- OSError: could not get source code HOT 3
- sync uses wrong path `\` characters when copying files to /pyboard while Python 3 is running on windows machines. HOT 13
- Unable to synch with CircuitPython 8.0 on Trinkey HOT 14
- CircuitPython remount in boot.py makes drive readonly to PC. HOT 3
- ImportError no module named analogio HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from belay.