172 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-4
votes
0
answers
49
views
Creating a custom Thonny plugin to restrict features for students
I'm trying to create a plugin in Thonny to create a custom exercise mode for my students. They should be able to write the necessary code, run tests and send the results to my own server. This part ...
0
votes
0
answers
43
views
Esptool error in Thonny while installing binary to esp device
This problem is maybe caused only on Raspbian desktop, since the ESP Tool is managed by the package manager rather then by pip, I can start it manually via this command:
sudo esptool --port /dev/...
0
votes
1
answer
109
views
Thonny turtle frozen screen in Thonny
When trying to write different functions with the turtle module in Thonny, my screen froze. I've been trying to find out why, but haven't had any luck with it.
It's a simple code, so I'm unsure what ...
0
votes
1
answer
43
views
Pygame screen displays while running python code
I am trying to run python code in Thonny App.The problem is it displays pygame screen when running python code.How can I get rid of the pygame screen?
['!'enter image description here](https://i....
-1
votes
1
answer
124
views
I am trying to call a function in thonny and then printing the variable changed by the function. Why isn't it working? [duplicate]
i define the function "player" and inside, assign the variable "health".
def player():
health = 100
player()
print(health)
but when i try to run the program, i recieve this
...
0
votes
1
answer
103
views
CircuitPython - Input pins dont work when not executing from Thonny
I am building a thermostat and have designed a board layout which I am intent on ordering but I want to make sure everything works before I order. After getting everything wired up on a breadboard for ...
0
votes
0
answers
239
views
Issues with importing modules with Thonny
I've been trying to get the gpiozero module into Thonny for a while (for use with a Raspberry Pi) and I've been having lots of issues with it. I installed gpiozero using the package installed inside ...
0
votes
0
answers
42
views
Virtual simulation of a PI and Microcontroller using Vagrant and Virtualbox
I am working on a vagrant / python script that will download micro controllers
The vagrant script loads the below VM:
pi5.vm.box = "debian/buster64"
Then I also load these as stand-ins for ...
1
vote
0
answers
65
views
ESP32 GPIO pin only activates inside a while loop in MicroPython
I am using an ESP32 with MicroPython to control a motor driver. I have created a class for the motor that allows me to set the motor's power using a setPower method. However, I have encountered an ...
0
votes
1
answer
62
views
How to calculate temperature right from RuuviTag advertizement packet?
I have micropython code in ESP32 that reads ruuvitag with BLE. I can receive BLE advertizement packet, 31 bytes. Ruuvitag uses dataformat 5. Firmware v3.31.3+default.
Packet is this: b'\x02\x01\x06\...
-1
votes
2
answers
86
views
In python, is there a way or tool to handle odd numbers root? like root3 root5 root7
i try to create a program that equal two equation, for an example: (X^2 = X, X will be 0,1)
but i have problem with scenario that equation is odd number root like root3 root5 root7...
beacuse when i ...
0
votes
1
answer
98
views
Http library plug in and Thonny
When I try to install the plug in in Thonny, is gives the following error:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
â"‚ exit code: 1
â•°â"€&...
0
votes
0
answers
61
views
print includes garbage out in shell
I am working with Thonny - MicroPython - ESP32 processor. My print output in the shell window includes a string of � characters. I've included an image that shows my print output code and the results ...
-2
votes
1
answer
46
views
Is there a way to get my lcd screen to show my data and my sd card to record it
I have been slowly implementing different sensors into code and did it succesfully i might add. But i have been unable to figure out how to record it onto an sd card and get the lcd screen to show the ...
0
votes
1
answer
141
views
Moving Joystick Up Causes Raspberry Pi Pico to Disconnect
I was following this guide:
https://www.tomshardware.com/how-to/raspberry-pi-pico-joystick
Everything works as described and I'm getting the expected values except for when I move the Joystick up on ...