Importing Libraries | Raspberry Pi Pico Workshop: Chapter 2.8

Описание к видео Importing Libraries | Raspberry Pi Pico Workshop: Chapter 2.8

🔗 The full course : https://core-electronics.com.au/cours...

In this video, we take a look at libraries and how to use them. We take a look at standard libraries in MicroPython*, how to import *external libraries in Thonny*, and we go through an example of finding and using an external *servo library to drive a servo.

🔧🔨🧰 Hardware featured in this guide:
Pico:
https://core-electronics.com.au/catal...
LED Pack:
https://core-electronics.com.au/catal...
Breadboard:
https://core-electronics.com.au/catal...
Jumper Wires:
https://core-electronics.com.au/catal...
Button Pack:
https://core-electronics.com.au/catal...
Potentiometer:
https://core-electronics.com.au/catal...

💡❓ If you have any questions about this content or want to share a project you're working on head over to our maker forum: http://coreelec.io/forum

0:00 What are Libraries?
0:45 Standard Libraries in MicroPython
1:27 External Libraries
2:50 Installing an External Library in Thonny
4:00 Looking for Documentation
5:20 Plugging in the Servo
6:05 Adapting the Documentation Code
7:04 Importing a Library from a Python File
7:51 Import and From Keywords
9:27 3 Key Takeaways

🌏🦘 Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:

• Raspberry Pi https://core-electronics.com.au/raspb...
• Arduino https://core-electronics.com.au/ardui...
• Sparkfun https://core-electronics.com.au/brand...
• Adafruit https://core-electronics.com.au/brand...
• Pololu https://core-electronics.com.au/brand...
• DFRobot https://core-electronics.com.au/brand...

The following trademarks are owned by Core Electronics Pty Ltd:

"Core Electronics" and the Core Electronics logo
"Makerverse" and the Makerverse logo
"PiicoDev" and the PiicoDev logo
"GlowBit" and the GlowBit logo

Комментарии

Информация по комментариям в разработке