Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5685

Troubleshooting • Re: I want to use ky-013 for raspberry pie pico.

$
0
0
use adc=machine.ADC(26) for adc channel 0
(A)
from machine import ADC

adc = ADC(0)

(B)
import machine

adc = machine.ADC(26)

are (A) and (B) different?

I don't think there's anything else, is there a difference?

Statistics: Posted by os933 — Sun Oct 27, 2024 12:56 am



Viewing all articles
Browse latest Browse all 5685

Trending Articles