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

🔗 The full course : core-electronics.com.au/cours...
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:
core-electronics.com.au/catal...
The Pico Variants:
core-electronics.com.au/raspb...
💡❓ If you have any questions about this content or want to share a project you're working on head over to our maker forum: 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 core-electronics.com.au/raspb...
• Arduino core-electronics.com.au/ardui...
• Sparkfun core-electronics.com.au/brand...
• Adafruit core-electronics.com.au/brand...
• Pololu core-electronics.com.au/brand...
• DFRobot 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

Пікірлер: 8

  • @lowellweeks1448
    @lowellweeks14483 ай бұрын

    Well Done! Nice break down.

  • @jyvben1520
    @jyvben1520Ай бұрын

    5 < x < 20, another way :: x=8; low=5; high=20; low < x < high any value can be replaced by a variable, also x can be a float like 5.001 or 19.999

  • @Core-Electronics

    @Core-Electronics

    Ай бұрын

    Very nice idea, low < x < high is a good way to not get twisted up in the logic!

  • @StitchesLovesRats
    @StitchesLovesRats2 ай бұрын

    This is good information, but this video is horribly jarring for my autism. The camera is too close to you, you're talking with your hands rather excessively which is visually jarring, and you speech patterns (the other guy does it too)... you overemphasize I think. Kinda doing a Kirk. 3 minutes in and I'm struggling here. Could you guys calm down a bit in future? I know you're excited but this is getting a bit rough.

  • @jyvben1520

    @jyvben1520

    Ай бұрын

    in your case i would cover up the person or move it off screen and just look at the right side (thonny shell window) and listen or maybe just look at the website

  • @StitchesLovesRats

    @StitchesLovesRats

    Ай бұрын

    @@jyvben1520 I'm allowed to have an opinion 🖕🏻

  • @jyvben1520

    @jyvben1520

    Ай бұрын

    @@StitchesLovesRats you do, i did not say otherwise, just giving some options that may help, also the creators can ignore you and produce for the main stream viewer.

  • @StitchesLovesRats

    @StitchesLovesRats

    Ай бұрын

    @@jyvben1520 oh, right, sorry