Comments (2)
Excellent suggestion. MicroPython does not seem to support SystemError without extra packages being installed, so an alternative method of displaying error messages is needed.
I have used simple red text to indicate the error and then exited the program. It's not ideal but it does also work when the library is imported, showing the correct error message in whichever is the currently running program.
from europi.
+1 to not adding additional imports. This looks like a great solution to me.
from europi.
Related Issues (20)
- [Documentation Suggestion] better menu doc to assist new users HOT 2
- [Bug Report] AnalogInput calibration improvement when using only two points HOT 4
- [Bug Report] Unable to calibrate HOT 2
- [Documentation Suggestion] Error in schematic.pdf HOT 1
- [Bug Report] Add newly introduced firmware files to setup.py modules list
- [Bug Report] HOT 2
- [Documentation Suggestion] Mistake in "Hardware Specifications"
- License is not fully signed
- Upgrade to support MicroPython 1.20.0 HOT 3
- Pico W? HOT 3
- Wrong I2C OLED Pinout
- Create a firmware library of reusable common functions HOT 5
- [Bug Report] Quantizer crashes on soft reboot HOT 1
- C1 missing in schematic HOT 1
- C1 & C2 HOT 1
- CI fails when using `time` module in `firmware/experimental`
- [Question / Request] Power HOT 1
- Turing Machine: link broken
- [Project Suggestion] Add cvx.on() voltage to config HOT 1
- Are the "Discussions" gone? HOT 2
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 europi.