Variables | Raspberry Pi Pico Workshop: Chapter 2.5
Core Electronics 11:17
4,805 views · 108 likes Watch on YouTube ↗
🔗 *The full course* : _https://core-electronics.com.au/courses/raspberry-pi-pico-workshop/_
In this video, we will be learning about *variables* in *MicroPython*. We will be covering what a variable is, some basic applications of it, as well as a look at *variable types* and some *math operators* we can use on them.
🔧🔨🧰 Hardware featured in this guide:
*Pico:*
_https://core-electronics.com.au/catalog/product/view/sku/CE07564_
*LED Pack:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08576_
*Breadboard:*
_https://core-electronics.com.au/catalog/product/view/sku/CE07065_
*Jumper Wires:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08574_
*Button Pack:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08583_
*Potentiometer:*
_https://core-electronics.com.au/catalog/product/view/sku/CE09096_
💡❓ 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 is a Variable?
1:41 Variables Example Code
3:23 Improving the LED and Button Example
6:35 Variable Types
7:01 Strings
7:44 Integers and Floats
9:01 Naming Variables
9:52 Math Operators
10:40 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/raspberry-pi.html_
• *Arduino* _https://core-electronics.com.au/arduino.html_
• *Sparkfun* _https://core-electronics.com.au/brands/sparkfun-australia_
• *Adafruit* _https://core-electronics.com.au/brands/adafruit-australia_
• *Pololu* _https://core-electronics.com.au/brands/pololu-australia_
• *DFRobot* _https://core-electronics.com.au/brands/dfrobot-australia_
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
In this video, we will be learning about *variables* in *MicroPython*. We will be covering what a variable is, some basic applications of it, as well as a look at *variable types* and some *math operators* we can use on them.
🔧🔨🧰 Hardware featured in this guide:
*Pico:*
_https://core-electronics.com.au/catalog/product/view/sku/CE07564_
*LED Pack:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08576_
*Breadboard:*
_https://core-electronics.com.au/catalog/product/view/sku/CE07065_
*Jumper Wires:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08574_
*Button Pack:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08583_
*Potentiometer:*
_https://core-electronics.com.au/catalog/product/view/sku/CE09096_
💡❓ 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 is a Variable?
1:41 Variables Example Code
3:23 Improving the LED and Button Example
6:35 Variable Types
7:01 Strings
7:44 Integers and Floats
9:01 Naming Variables
9:52 Math Operators
10:40 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/raspberry-pi.html_
• *Arduino* _https://core-electronics.com.au/arduino.html_
• *Sparkfun* _https://core-electronics.com.au/brands/sparkfun-australia_
• *Adafruit* _https://core-electronics.com.au/brands/adafruit-australia_
• *Pololu* _https://core-electronics.com.au/brands/pololu-australia_
• *DFRobot* _https://core-electronics.com.au/brands/dfrobot-australia_
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
Category (YouTube): Education
Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.