thonny

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
thonny [2026/06/16 22:01] walkeradminthonny [2026/06/16 22:06] (current) – [Introduction] walkeradmin
Line 61: Line 61:
 ---- ----
  
-==== Install Pico Zero Library ==== 
-\\  
-Library files are like device drivers, they allow you to run commands to do something with a device. 
-\\  
-The picozero library is a simplified driver file for the Pi Pico. 
-\\  
-\\  
-You should now have a Thonny icon on your desktop. Double click the icon to start Thonny. 
-\\  
-\\  
-{{ :install-thonny_10_.png?600 |}} 
-\\  
-First page you will see is the options page. From here select your preferred language. Leave the 'Initial settings' at Standard. 
-\\  
-\\  
-{{ :install-thonny_11_.png?300 |}} 
-\\  
-Click the 'Lets Go' button. 
-\\  
-\\  
-Thonny will now open. 
-\\  
-\\  
-{{ :install-thonny_11b_.png?700 |}} 
-\\  
-** At this point, please connect your Raspberry Pi Pico to your computers USB Port ** 
-\\  
-\\  
-First thing we want to do with Thonny is select the device we are working with from the bottom right hand corner of the Thonny Application. 
-\\  
-\\  
-{{ :install-thonny_12_.png?700 |}} 
-\\  
-If you pico is not listed, then your computer has not recognised the device. 
-\\  
-\\  
-Next, from the Thonny toolbar, we are going to select Tools and then Manage Packages. 
-\\  
-\\ 
-{{ :install-thonny_13_.png?700 |}} 
-\\  
-A box will open. In the search bar enter <color #00a2e8>picozero</color> then click hte Search on PyPI button. 
-\\  
-\\  
-{{ :install-thonny_14_.png?700 |}} 
-\\  
-In the Search results, you should see the entry <color #00a2e8>picozero</color>. Click on this entry (it's a hyperlink). 
-\\  
-\\  
-{{ :install-thonny_15_.png?700 |}} 
-\\  
-This will take you to the <color #00a2e8>picozero</color> page where you can click install. 
-\\  
-\\  
-{{ :install-thonny_16_.png?700 |}} 
-\\  
-You will see the picozero installer running. 
-\\  
-\\  
-{{ :install-thonny_17_.png?700 |}} 
-\\  
-\\  
-Now you can click the Close button. 
-\\  
-\\  
-{{ :install-thonny_18_.png?700 |}} 
-\\  
-That is it, you have installed and dome some basic configuration of Thonny. 
-\\  
-\\  
-So now the picozero library has been installed you can write some MicroPython code in Thonny. 
-\\   
-\\  
-This example code is allows the picozero library to flash or "blink" the onboard LED: 
-\\  
-<code | download> 
-#import the pico_led function from the picozero library, this allows you to control the onboard LED. 
-from picozero import pico_led 
  
-#now we tell the onboard LED to "blink" on and off at a time period of 0.5 seconds 
-pico_led.blink(0.5) 
-</code>  
  
-This is a simple way and great to get started but it is limited, you can get the same result using other library's  +  *[[Installing Thonny]]\\  
-\\  +  *[[Running Thonny and Initial Setup]]\\ 
-\\  +  *[[Install Pico Zero Library]]\\
-For more examples of controlling you Pi Pico with MicroPython please go [[micro_python|here]].   +
-\\  +
-\\  +
----- +
- +
-*[[Installing Thonny]]\\  +
-*[[Running Thonny and Initial Setup]]\\ +
-*[[Install Pico Zero Library]]\\+
 \\  \\ 
 \\  \\ 
 ---- ----
thonny.1781647309.txt.gz · Last modified: by walkeradmin