- 603
- 731 257
John Gallaugher
United States
Приєднався 17 гру 2009
Videos from Prof. John Gallaugher, Information Systems Department, Boston College. Swift/iOS, Making, Robotics, CircuitPython, MakeCode, Raspberry Pi.
Web: gallaugher.com/ Twitter: @gallaugher Instagram: @john.gallaugher Biz/Tech Book: gallaugher.com/book iOS Book: gallaugher.com/swift
Information about Prof. Gallaugher can be found at:
gallaugher.com/about-prof-john-gallaugher/
Web: gallaugher.com/ Twitter: @gallaugher Instagram: @john.gallaugher Biz/Tech Book: gallaugher.com/book iOS Book: gallaugher.com/swift
Information about Prof. Gallaugher can be found at:
gallaugher.com/about-prof-john-gallaugher/
CircUp: Easily Install or Upgrade CircuitPython Libraries
Every CircuitPython user should be using CircUp. It makes installing and upgrading files much easier than manually dragging libraries from a downloaded "lib" folder. CircUp can even look at your board's code.py and add all of the libraries that are needed - even if a library requires another library not mentioned on an "import" line. CircUp uses the command line in the terminal and it's not user-friendly to install, but it will be a great help. I'll be sharing this with all of the new coders in my university CircuitPython course.
For more lessons in the course, see: bit.ly/circuitpython-tutorials
For more lessons in the course, see: bit.ly/circuitpython-tutorials
Переглядів: 187
Відео
Use PyCharm with CircuitPython on Macs (takes setup, but it is glorious)
Переглядів 24014 днів тому
I'm switching from Mu to PyCharm for future lessons & requiring this for my undergrad Maker course. We'll upgrade Python on a Mac, install the free and powerful PyCharm coding tool, create a project, add CircuitPython stubs and learn how to add other CircuitPython libraries to the project, get our project to recognize the feature of our board so it can make better code completion suggestions (u...
Prof.G. Back from Sabbatical - More Lessons Coming Soon!
Переглядів 226Місяць тому
Current iOS full course playlist: bit.ly/prof-g-swiftui Current CircuitPython full course playlist bit.ly/circuitpython-tutorials V. 10 of Prof. G.'s Business / Tech Textbook (likely only interesting for faculty who'd like to adopt this in their classes, as it's a per-semester purchase): catalog.flatworldknowledge.com/catalog/editions/information-systems-a-managers-guide-to-harnessing-technolog...
9. Predict App Part 2
Переглядів 3485 місяців тому
We'll finish the Predict App (Magic 8 Ball Clone) by using a ZStack to layer Views and make our image seem like an animated Magic 8 Ball with messages fading in and out. We'll also learn to use offset, minimumScaleFactor, and we'll get a first look at the Xcode Simulator. Based on the free university course by Prof. John Gallaugher. For more info, see bit.ly/prof-g-swiftui
SwiftUI for the Absolute Beginner Playlist Intro
Переглядів 5725 місяців тому
Want to learn to program in Swift and to build Apps in SwiftUI? Join me on this free playlist. Assumes no prior knowledge of programming. You'll be building your first app, a Magic 8 Ball clone, in no time. Let's code! Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
4. An Intro to Buttons in SwiftUI
Переглядів 4405 місяців тому
Add a Button View in SwiftUI and program it to respond to a user's press! We'll introduce the print command, the Xcode console, variables, and the SwiftUI concept of State. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
7. Elvis Costello Challenge Peace Love and Understanding
Переглядів 2385 місяців тому
Apply what you've learned so far by completing the Elvis Costello Challenge, building the simple Peace, Love, and Understanding app. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
6. The Frame Modifier and Xcode Tips for Typing Parameters
Переглядів 3055 місяців тому
We'll work with the Xcode asset catalog to add your own custom images to our app. We'll learn about Arrays in Swift, we'll use randomElement to get a random element of an array, we'll offer an initial introduction to dealing with methods that may return nil values, we'll show some basic animations to fade text in and out as it changes, we'll learn to align text and work with the multilineTextAl...
5. Formatting Buttons Stacks within Stacks and Spacers
Переглядів 2865 місяців тому
We'll learn to format buttons using ButtonStyle and work with Spacers in SwiftUI. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
3. Iintro to Image and Text Views
Переглядів 3415 місяців тому
Start coding and building apps in SwiftUI! Learn about VStacks, HStacks, Image Views, systemName images, changing Image sizes, colors, working with Text Views, changing fonts, font weights, and more! Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
2. Using Xcode + Creating an iOS Project
Переглядів 5745 місяців тому
Create your first Xcode project while getting a quick tour of Xcode. We'll also cover gotchas and problems that often trip up new students, and we'll provide information on basic Xcode settings, and offer an Xcode reference for download. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
1. Set Up Xcode & Your Free Apple Developer Account
Переглядів 2 тис.5 місяців тому
Learn to download Apple's free Xcode App Building software, create a free Apple Developer Account, and configure Xcode with your Apple Developer Account so that you can start building apps! Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
Physical Computing - Apple Distinguished Educator Showcase Dallas 2023 - Prof. John Gallaugher
Переглядів 46511 місяців тому
See how Physical Computing: Art, Robotics, and Tech for Good is tought at Boston College. The course is open to all. undergraduates in all colleges of the university, no pre-requisite are needed. Students complete several projects, including assistive technology projects for the Boston College Campus School. All flipped-class learning videos for CircuitPython can be found at bit.ly/circuitpytho...
Interactive @Query in SwiftData - Change Query Properties with a Picker (ToDo List App)
Переглядів 3,5 тис.Рік тому
How do you get a SwiftData Query to change its attributes / parameters interactively? In this lesson we'll show how you can use a Picker view in SwiftUI to send selections to a View, and have that View respond to the interaction by selectively initializing a Query with different .sort, ..order, and .filter / #Predicate parameters. We'll also learn to use _variableName to initialize a Swift Prop...
SwiftData! Updating a Simple ToDo List App (Ch. 5 BONUS)
Переглядів 3,5 тис.Рік тому
SwiftData! Updating a Simple ToDo List App (Ch. 5 BONUS)
Disco Button Part 2 MQTT Subscriber for NeoPixel animation, Song Play, and Relay Switch on off
Переглядів 825Рік тому
Disco Button Part 2 MQTT Subscriber for NeoPixel animation, Song Play, and Relay Switch on off
Disco Button Funk up any room with MQTT, CircuitPython, and a Raspberry Pi Pico W
Переглядів 2,4 тис.Рік тому
Disco Button Funk up any room with MQTT, CircuitPython, and a Raspberry Pi Pico W
Format WAV files to play in CircuitPython
Переглядів 835Рік тому
Format WAV files to play in CircuitPython
Assistive Tech Projects - Spring 2023 - Boston College Physical Computing with Prof Gallaugher
Переглядів 253Рік тому
Assistive Tech Projects - Spring 2023 - Boston College Physical Computing with Prof Gallaugher
Build the Jokes App A SwiftUI Exam Challenge & Solution
Переглядів 538Рік тому
Build the Jokes App A SwiftUI Exam Challenge & Solution
InkSpot App: A SwiftUI Exam Challenge with Solution
Переглядів 330Рік тому
InkSpot App: A SwiftUI Exam Challenge with Solution
Build a Raspberry Pico W Web-Conontrolled Robot in CircuitPython (rolls + talks/plays sounds)
Переглядів 1 тис.Рік тому
Build a Raspberry Pico W Web-Conontrolled Robot in CircuitPython (rolls talks/plays sounds)
Star Wars Species App in SwiftUI using SWAPI dev API and JSON Parsing
Переглядів 1,5 тис.Рік тому
Star Wars Species App in SwiftUI using SWAPI dev API and JSON Parsing
Make a Pico W Change NeoPixel Colors, Play Sounds, & Move a Servo from a Web Page in CircuitPython.
Переглядів 1,2 тис.Рік тому
Make a Pico W Change NeoPixel Colors, Play Sounds, & Move a Servo from a Web Page in CircuitPython.
SwiftUI Challenge & Solution: The Addition Tutor App
Переглядів 735Рік тому
SwiftUI Challenge & Solution: The Addition Tutor App
Challenge/Solution: Wu Tang Name Generator for Programmers
Переглядів 610Рік тому
Challenge/Solution: Wu Tang Name Generator for Programmers
I love the good mood in the videos and your way of teaching and motivating. Thank you for that! It is so much more engaging to see what the code is able to do instead of learning hours and hours of terms and concepts before being able to do anything with them. I wonder why there are not way more views of your excellent videos. Again thanks!
Thanks friend. Your comments keep me motivated. Feel free to to tell others about the channel. Would love to reach more people.
when i enter the first command it says connection refused what is the solve for it?
Great Lesson !!! 😊 Thanks for making this video and the ENTIRE Series !!! Your work is greatly appreciated.
Glad you like it! I’m going to be upgrading the series over the coming week using PyCharm and CircUp plus the latest releases. Stay tuned. And thanks for your motivating comments. Hack on!
It was very helpful, thank you!
So glad you liked it! Thanks for writing. There is a whole playlist of over 100 videos used in order for my SwiftUI university course. Expect updates for this Fall’s class. You might want to check those out, too.
This overwhelmed me...
Hang in there, homie. It’s one of the harder topics to understand.
glad i found your channel
Glad you like it. I’m going to be adding lots more content for my Fall course, soon. You’ll find new videos on PyCharm and CircUp in the list, which I’ll probably introduce early in class since they can make such a big difference improving the student experience. Hack on!
I am getting this error message all of a sudden: D:\>circup list Missing file boot_out.txt on the device: wrong path or drive corrupted. ....
Sounds like your board’s file system is corrupted. I’d try the board erase REPL method mentioned here. Make certain you then upgrade your board with the correct .uf2 file for CircuitPython. It’s easy to mixup the CircuitPlayground Express and B lkuefruit boarsd, or the Raspberry Pi Pico and pico W. These are absolutely different. If probs persist definitely see Adafruit Discord, but my guess is the fix mentioned above will work. Here’s a link: docs.circuitpython.org/en/latest/docs/troubleshooting.html
My friend, you are a lifesaver. The documentation for setting up firebase auth was difficult to comprehend.
Glad you liked it. Lots more SwiftUI content on the way. I keep it balanced with my other course in CircuitPython, but you’ll see both and there is a full SwiftUI playlist of >110 lessons on the channel. Cheers!
Just for further clarification the modifier .foregroundColor still seems to work but will only modify the string within the button where .tint modifier fills the rounded rectangle.
this is awesome and a VERY good video!! i wish i had known about this about six months ago, when i was working on my PI Pico LED project.
Thanks, James. Glad you liked it. Definitely more on the way. Cheers!
Great tutorial!!! Thank you!! 😁👍
Happy to drop the knowledge, friend. I appreciate the comment. Hack on!
Solid gold, as always! Lots of useful tips for PyCharm setup and optimization.
So glad you liked it. More on the way!
Hi! I'm using this tutorial in France. I'm using my phone with my US travel plan (ATT), so I'm thinking I don't need to change any settings for being here. You mentioned this could be an issue, and you have some instructions for how to modify the commands in the nano section. Could you share those, if so? I"m having some success using the hotspot, but it's a little bit unstable. Thanks so much for this great video
So glad you liked the lesson. I’m in the midst of a bunch of projects but definitely check out Adafruit Discord. There are many EU folks there and the responses are super quick and very friendly/ helpful. Search online for Adafruit Discord and you’ll get address and connection info. Hope that helps. Good luck!
Hey John! This is so cool! We are a used car dealership in Lakeland, FL We want to have an "emergency" button that when a customer buys a vehicle, they can push and the office will become a disco💃 for a few seconds. Is this something you can (or are willing) to make for us and ship it?
What a wonderful thing for your dealership! I’ve actually got a very full load and custom builds doesn’t fit in with it, BUT the tutorials would definitely help even an intern who understood programming or microcontrollers to build something similar and cool. Perhaps you can reach out to a local high school or college and post an opportunity requesting the build and perhaps pointing to the tutorial as “something like this on a bigger scale”
@@profgallaugher Thank you for the idea! We'll take a look at that!
Hi, how I can use onMove modifier on Query toDos?
how did u achieve the view to scroll up when the keyboard is triggered to always make the textfield visible
Very nice.... great to see something at a sensible pace, as well as spot on for content!
Whats an ideal way to keep it powered for a diy home security system making sure all doors are closed?
I appreciate you using the politically correct description for MISO
Views are getting more sparse as I go through this course. I'm determined to make it through.
Keep at it. You’ll get there.
Awesome video, thank you so much!
Glad you like it. Lots more where this came from. Hack on!
We love u man!!
Thanks!
Hot dog! Cant wait. Glad to have you back.
Thanks!
Welcome back Professor. Watched, practiced, and learned a lot from your iOS videos. Going to start going through your Python videos to keep me occupied in the time being. Can't wait for your new iOS materials to come out.
Great to hear!
Awesome, welcome back! I hope that at some point you would consider giving an online live class, that people can sign up for. Just for the sake of getting live feedback, so food for thought! And again, welcome back! I'm doing code in place, and after that I'm hoping to do the Swift course again, and I hope this time I do a better job than the lsat time, with some foundations this time that I got from Stanford's Code in Place.
Good luck! Unsure I’d do a sign up class, but perhaps. My responsibilities at the University keep me pretty busy.
Missed you! Sounds like you had a good walkabout.
I did!
Excellent!
Thank you! Cheers!
First I want to thanks you for this channel your trainings are awesome... I was wondering if these projects are working on Raspberry zero as well ? For instance the audio output project ?
Audio can be a bit tricky because there isn’t an audio out port on the zero, which is why I usually use a pi 2 in class. However I’ve switched to a Pico since it’s even easier to use. Feel free to check out the fully playlist at http:://bit.ly/circuitpython-tutorials
Why do you use nsdataasset instead of bundle?
I have no clue where I went wrong but when I click on the restaurant I get the print statements but the app freezes. If I just click the add button it all works just fine (the review and photo both save to firebase). I just can't navigate to the detail view. "reviews.path = spots/JwUUDYouTtm6tO15HFW6/reviews photos.path = spots/JwUUDYouTtm6tO15HFW6/photos"
I wanna hug you
This was a tough one. Might need another watch or 2.
Only get this: MPY: soft reboot Traceback (most recent call last): File "<stdin>", line 3, in <module> ImportError: no module named 'digitalio' I tried to install all libraries, but I'm missing something.
Thank you for this video. Ive been working with Xcode for years and never knew about this feature. Thank you.
Thanks for giving both easy to understand examples
Glad it was helpful!
Great work
Thanks so much. Keep hacking!
Looks like swiftUI doesn't have a view limit any longer in may 2024.
That’s correct. I’ll be updating the series after the next WWDC so I can incinerate even more new developments. I’ve been on sabbatical this past year so I didn’t do an update this past year. Stay tuned. Cheers!
Man these videos are great. I am going to work my way through this series. Thank you for posting.
Thanks for taking the time to right. Appreciate your kind encouragement. More to come after WWDC as I prep for my Fall course. Cheers!
Thank you so much. I was struggling to do this on my own but this video makes it all make sense. There were a few differences with my version of xCode, such as the source control menu changing to the integrate menu. No biggie though - I still made it work.
Glad it was useful. I plan to update all of the videos after the next WWDC to get ready for the Fall course. Hope you find other content of interest. Hack on!
Thanks for this precious content 👍
My pleasure 😊
Hi. Thanks for the tutorials. I note that the sound seems to play when the button is released. I'd like to have the action when it's initially pressed in my application. Any suggestions?
Check out the other button tutorials in bit.ly/circuitpython-tutorials. You’ll find ideas and techniques there. Hack on!
Amazing video, simple and easy to follow. If only more videos were like this.
Thanks so much! Keep hacking!
Is the Python/Mu approach required for Adafruit, or can you user the Arduino IDE to load up the circuit board?
You can drag any file with the right name (e.g. code.py) onto the board & it’ll execute when the board is started, but Mu has the advantage of integrating its output with the board, so you see error messages in the console & can use the REPL, plotter, etc. Arduino is usually used to edit with the C-based Arduino language. Mu is a good choice for b engineers. Many advanced users will configure PyCharm or other python editor for use. See Adafruit docs or ask ont heir Discord for more info.
ImportError: Kein Modul mit dem Namen 'neopixel' -> No modul with the name 'neopixel' is found. But i have clearly a LED on my board thinking it is a Neopixel LED.🤷♂
If you are using a CircuitPlayground Bluefruit or Express these have built in neopixels. My guess is you are using a board that doesn’t have an rgb neopixel. If you look further down in the playlist you’ll see videos on installing circuit python on multiple boards. This and the next video or two will cover REPL commands you can use to see which features are available on your board.
@@profgallaugher I checked with "import board dir(board) " I have the possibility to use 'NEOPIXEL' or 'IO8' that is also marked on my board as RGB@IO8 it is the ESP32-C6-DevKitC-1 from ESPRESSIF. So.🤷♂️
Thanks a lot I have learnt it Again thanks teacher All good things for you
It's my pleasure
You are awesome
Back at ya. Hack on!
great work
Thank you! Cheers!
My question is how to get information/data between Raspberry Pi and my iPhone through Hot-spot. I'm working on an RC car project and need to remotely control my pi.
thanks though.
Lots of things you can do. Check out further videos in the playlist. I’ve been using the pico w in class rather than the Pis. Less complex solution. Good luck!
One of the best tutorials I've ever seen. Thank you!
Wow, thanks!