Hello,
so i'm trying to get a Pico to use a Capacitive moisture sensor.
from the start. main computer is a i7 4770. i have thonny installed on linux mint. when i try and install the machine library i'm getting a error to install. i've tryed many things to get it to install and use it to even using root to run the program. no luck.
that's fine i have a Pi4 with raspbian os installed. boot it up and goto manage librarys. installs no problem.
code i'm trying to run is:
from machine import Pin, ADC
import time
adc = ADC(Pin(27))
while True:
print(adc.read_u16())
time.sleep(1)
click the debug and get an error saying no machine library installed. i'm going to loose my mind here. can anyone tell me why i can't use this library so i can test this sensor????!?!?!?
not detecting library
Re: not detecting library
Have you installed MicroPython on your Pico and have you configured Thonny to use the Pico ?
As I understand it you can't use debug when you have done that, which suggests you haven't.
As I understand it you can't use debug when you have done that, which suggests you haven't.
Re: not detecting library
Maybe you need to install MicroPython on your Pico first.