Questions tagged [micropython]

Questions involving the use of the MicroPython programming language. Officially supported by LEGO on the SPIKE Prime hub, but also available for the EV3 devices and potentially other LEGO hubs.

Filter by
Sorted by
Tagged with
5
votes
1answer
245 views

EV3 not recognizing resistance correctly (MicroPython)

I recently tried measuring the resistance of a thermistor using the .resistance() method, the results are sadly not accurate. I measured the resistance with a multimeter and it showed 100kΩ, while the ...
2
votes
2answers
154 views

How to get a random value in the LEGO Mindstorms Robot Inventor software

I am making a Python program with the LEGO Robot Inventor software which will, among other things, turn the robot a random amount periodically, which of course requires a random number. However, I ...
2
votes
1answer
110 views

Spike Prime remote command using screen

I am trying to execute commands using the -X switch on the Spike Prime Hub but all I get is either nothing, or unknown command errors. Here is what I tried so far: screen /dev/ttyACM0 -X 'print("...
1
vote
1answer
51 views

Why is my EV3 status light pulsing? (ev3dev)

I am using EV3 micropython (ev3dev?). When I upload the below program to my EV3, I see on the screen the usual play button image which looks approximately like the below ASCII art: ...
1
vote
1answer
386 views

How to dump the firmware from the SPIKE Prime (and Mindstorms v4)?

I'm interested in tinkering with the micropython filesystem and/or firmware in the SPIKE Prime hub and was wondering: How to dump the firmware from the SPIKE Prime hub? Is there an online resource ...
8
votes
1answer
654 views

How to dump the micropython filesystem from the SPIKE Prime (and Mindstorms v4)?

I'm interested in tinkering with the micropython filesystem and/or firmware in the SPIKE Prime hub and was wondering: How to dump the micropython filesystem from the SPIKE Prime hub? Is there an ...