← Back to search

Boolean Logic & Comparative Operators | Raspberry Pi Pico Workshop: Chapter 3.2

Core Electronics 6:48

2,464 views · 69 likes Watch on YouTube ↗

🔗 *The full course* : _https://core-electronics.com.au/courses/raspberry-pi-pico-workshop/_

Making a *decision* with code can be boiled down into 2 steps: the first is to make a *statement* to compare data, and the second is to *choose* a course of action based on that comparison. This video will cover the first step of that process and we will be constructing statements that can only be either *true* or *false* . To do so, we will be using *comparative operators* and *boolean operators* .

🔧🔨🧰 Hardware featured in this guide:

*Raspberry Pi Pico:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08704_
*The Pico Variants:*
_https://core-electronics.com.au/raspberry-pi/pico.html#category_2118_


💡❓ 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 an operator
0:35 Comparative Operators
3:48 Boolean Operators
6:10 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.