Comments (4)
@mirkokral What device are you running this code on? A circuitpython microcontroller? Or on a PC or raspberry pi in "normal" python?
I'm not sure what you mean when you said "the program is ran using exec()" either can you elaborate any further about how you are executing this code? On a microcontroller it should just be saved as code.py in order to be run automatically by the device. On a PC or Raspberry pi under CPython I think it should be run with a command like python my_script.py
and the code would be contained inside of that file that you specify.
from adafruit_circuitpython_display_text.
@mirkokral What device are you running this code on? A circuitpython microcontroller? Or on a PC or raspberry pi in "normal" python?
I'm not sure what you mean when you said "the program is ran using exec()" either can you elaborate any further about how you are executing this code? On a microcontroller it should just be saved as code.py in order to be run automatically by the device. On a PC or Raspberry pi under CPython I think it should be run with a command like
python my_script.py
and the code would be contained inside of that file that you specify.
The board is a wio terminal, i updated the post.
from adafruit_circuitpython_display_text.
@mirkokral are you saving your file as code.py on the CIRCUITPY drive? or doing something different?
from adafruit_circuitpython_display_text.
Old issue and also it was something with my sd card (because i use an sd card to run my code)
from adafruit_circuitpython_display_text.
Related Issues (20)
- Missing Type Annotations HOT 1
- Spaces are deleted when word-wrapping HOT 1
- Updates to text are inefficient for special case of same length and width text HOT 3
- bitmap_label losing direction HOT 6
- Suppress warnings in bitmap_label HOT 1
- Use `fontio.FontProtocol` for type annotations
- Label can take Tuple[int, int, int] for color HOT 1
- wrap_text_to_pixels() cannot handle Windows line endings HOT 1
- bitmap_label flicker HOT 1
- Unable to update scrolling_label text outside constructor HOT 2
- Exception with multiple consecutive newlines in bitmap label
- label.Label padding is wrong when using DWR or UPR HOT 5
- button simpletest throws error on PyPortal Titano HOT 1
- bitmap_label errors if no bitmaptools module present
- ValueError from negatives on first character
- Convert `.show()` to `.root_group =` for CircuitPython 9
- bitmap label cuts off part of text HOT 3
- Add error handling for misspelled kwargs in adafruit_display_text.label HOT 4
- Feature Request: wrap_text_to_pixels truncate argument
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 adafruit_circuitpython_display_text.