Hi
Thanks for your replies B.Goode and hippy.
The USB cable is definitely power and signal, I went through several cables until I found one that connected the pico using BOOTSEL.
If I connect the default device "The same interpreter which runs Thonny (default)" , in Thonny bottom right corner,
and use print("hello") as first line, it runs OK, both in Thonny and with "python3 file.py" in a terminal screen.
However it cannot find modules picozero, machine, or network. It found modules socket and time OK.
It I connect in Thonny as "MicroPython (Raspberry Pi Pico)", it then gives an error on "Pin", which is a function in "machine".
Does this help!
The pico is supposed to connect as an external memory, so what does the directory it look like, presumably not like D: as in the tutorial?
There is a directory home/pi/Documents/pico is that it?
Thanks for your replies B.Goode and hippy.
The USB cable is definitely power and signal, I went through several cables until I found one that connected the pico using BOOTSEL.
If I connect the default device "The same interpreter which runs Thonny (default)" , in Thonny bottom right corner,
and use print("hello") as first line, it runs OK, both in Thonny and with "python3 file.py" in a terminal screen.
However it cannot find modules picozero, machine, or network. It found modules socket and time OK.
It I connect in Thonny as "MicroPython (Raspberry Pi Pico)", it then gives an error on "Pin", which is a function in "machine".
Does this help!
The pico is supposed to connect as an external memory, so what does the directory it look like, presumably not like D: as in the tutorial?
There is a directory home/pi/Documents/pico is that it?
Statistics: Posted by Mobular — Mon Jun 24, 2024 9:32 am