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

Python • Re: Python Program Adaptation

$
0
0
Depends what it is doing - post it here so we can have a look.
The main difference will probably be in the use of the GPIO i.e. Pi 5 using the gpiozero library whereas Pico uses machine as in:

Code:

from machine import Pinled = Pin('LED', Pin.OUT) # onboard LED for pico-w (not pico)

Statistics: Posted by neilgl — Wed Mar 06, 2024 11:55 am



Viewing all articles
Browse latest Browse all 1584

Trending Articles