Raspberry Pi 4 & VS Code

  Рет қаралды 25,070

Kevin McAleer

Kevin McAleer

Күн бұрын

Пікірлер: 39
@StephenFarthing
@StephenFarthing 3 жыл бұрын
Kevin, thanks very much for this. I’ve been using VSCode for a couple of weeks. There are “add ins” for both Circuit Python and MicroPython. Both allow access to the REPL. You may also want to take a look at one for Juypiter Notebook which, among other things, is a “sandbox” for Python. So it’s possible to test code fragments before putting them in the development code. I’ve been programming since 1975 and now I’ve retired I enjoy playing with microcontrollers. I’ve decided to learn Python ( along with Rust and Haskell ) this year and will doubtless build some robots. Your videos are exceptional. Keep up the good work !
@StephenFarthing
@StephenFarthing 3 жыл бұрын
To clarify my previous comments. The VScode extensions I’ve installed are CircuitPython, Juypter and Pymakr. Pymakr is the extension for MicroPython and the details are at pycom.io . Whilst the learning curve is a little steeper that for Thonny and or Mu, VSCode is far more comprehensive and reliable. So, for example, if you also do a bit of HTML or Arduino coding there are extensions for both as well. I program in several languages all of which are supported by VScode.
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
@@StephenFarthing Thanks for the tips - I'll check out the extensions. I did a video about Jupyter Labs a couple of weeks ago - its great! kzbin.info/www/bejne/b5jMqJ-Xi9qji9U
@StephenFarthing
@StephenFarthing 3 жыл бұрын
@@kevinmcaleer28 Kevin, thanks! I’ve watched and enjoyed most of your videos. :-) Still a few more to watch! Regarding Visual Studio Code on the Pi for MicroPython. I’m pretty sure I’ve discovered a bug which affects both the Circuit Python and Pymakr extensions. Whilst they install without flagging an error both are unable to access the Pico REPL. I think this is a problem with them being unable to find node.js. I’m using standard installations of software so I don’t think it’s me as an identical installation on an intel based Ubuntu box doesn’t have this problem. Thanks again for the great videos.
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
@@StephenFarthing I'm sure these bugs will be worked out soon - its only been a couple of days since the official release. I found that PicoGo isn't compatible yet
@HarshvardhanKanthode
@HarshvardhanKanthode Жыл бұрын
Just hooked up my Pi 4 to my 10 year old Toshiba monitor, an old usb mouse and a logitech bluetooth keyboard and BOOM! I now have another system to escape to and develop side projects that I can't do on my work issued laptop. Thank you for the concise video. Edit: On a side note, what kind of python projects would be ideal for a 4GB Pi 4?
@kevinmcaleer28
@kevinmcaleer28 Жыл бұрын
There are so many Python projects you can do on the Raspberry Pi! Here are a couple of projects to inspire you: www.kevsrobots.com/robots/projects
@MrBobWareham
@MrBobWareham 2 жыл бұрын
All very nice, if only I could get a Raspberry Pi 4 I could follow your video!!
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Have you tried www.rpilocator.com
@birsevgicicegi
@birsevgicicegi 2 жыл бұрын
Mr Kevin, Hello from Turkey. I dont know good english language. But I usualy understand You. Thnx for your help and video. I examined your channel, it look enjoynable. Your effort is invaluable.
@christopherlyons7613
@christopherlyons7613 2 жыл бұрын
Thanks for the video. It's 3/19/22 and I've installed installed VS Code Ver. 1.65.0 on my Pi400. It seems to be generally working but there are some things I'm not seeing. In your window, you have a blue bar at the bottom of the screen that shows the Python interpreter version you are using. My bottom bar is BLACK and I'm not seeing the version, all I have on the left of the bar is the error & warning info. How do I get it to display the version and can the color of that bar be changed in settings? Maybe this is theme based. Did you change that color or did it used to install as your's is shown? I'm also not seeing the Markdown icon at the top right of the window. Again, is that something you have to set in preferences to make it visible? I've seen other videos that also show other icons in this area. Is there a specific setting option that allows you to configure all of this? Is there anything special that has to be setup if using CircuitPython? Appreciate any help.
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Hi Chris - I do have a couple of extensions Installed - the Pylance extension and some python linting ones too. The Markdown thing appears when you are editing a file with either the .md or .markdown extension (I didn’t install anything to make that appear).
@cursoderobotica
@cursoderobotica 3 жыл бұрын
Goos video Kevin!! 😁👍 - with vscode can I save the script on the pico as Thonny software does? well I guess is only drag and drop the py files, isn't it? cheers!!
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
Yes - there is an upload button (on Mac and PC), I think this will becoming to the Pi version soon - This is the Pico Go extension.
@KrKesomackan
@KrKesomackan 2 жыл бұрын
this is gonna make my life so much easier, THANK GOD
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Awesome!!!
@malch2843
@malch2843 3 жыл бұрын
Great video thank you, I have only discovered your channel recently but I like they way you explain things.
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
Thanks Malc!
@ObsidianMercian
@ObsidianMercian 2 жыл бұрын
Great video! I was wondering how well the pi 4 can run vscode (I have a pi 3B+ and it is rather slow) and your video showed that, plus some other very interesting tidbits. You have yourself a new subscriber. Looking forward to catching up on your other videos.
@jamesgill6028
@jamesgill6028 3 жыл бұрын
I use Vs2019 on my Windows. Setting up my pi today to get started with some Linux and vscode and try something a little diff 😁. Cheers for the info 👍
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
Awesome! Let me know how it goes
@hamburger0
@hamburger0 3 жыл бұрын
I think Raspberry Pi OS is only 32bit (Although the Pi 4 hardware is support 64bit), but it's not big deal since you can install another distro. loved your channel
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
Thats right - there is a beta version of 64bit Raspberry Pi OS - I'm sure that will be released this year,
@rewiredbyadhd
@rewiredbyadhd Жыл бұрын
I'm new to this but I saw a cyber desk the other day and fell in love. I don't have the money to buy a Raspberry board right now so... Is there any Raspberry board emulator that I can use on my computer with the intention of connecting it to another display as a starter project? I mean, can I use my computer as a Raspberry board emulator in some point to start some projects? I ask because thinking that I can work with an emulator sounds interesting but I don't know where to look.
@kevinmcaleer28
@kevinmcaleer28 Жыл бұрын
Raspberry pi is an Arm based computer, so you could emulate that using QEMU and installing Raspberry Pi OS. Alternatively you can run the PC version of Raspberry Pi OS in a VM on your computer.
@rewiredbyadhd
@rewiredbyadhd Жыл бұрын
@@kevinmcaleer28 I was reading about this yesterday and I think I'll have to run it in a VM, I didn't know I could do that, I'm only on this path of programming since November 2022, there's a whole world to learn yet but I'm happy to have to. Thank you. Have a good day.
@progtom7585
@progtom7585 3 жыл бұрын
So stoked that pi gets vs code! My first pi is in the post and good to see i can do some light coding on it. Any issues with extensions? Or is the list culled a lot for the arm cpu? I can code a little on this and push to a git repo! Nice
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
The extensions list is a bit shorter for arm but it’s growing everyday!
@progtom7585
@progtom7585 3 жыл бұрын
@@kevinmcaleer28 i dont use any fancy extensions, just a few popular ones. Cant wait to get my hands on it
@abnersilva2425
@abnersilva2425 3 жыл бұрын
If I may ask, what version of the Pi 4 are you using? the 2gb, 4gb, or 8gb? Also, is it overclocked? is it the model B? Thanks and greetings from Mexico:)
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
I use the 8gb version, but also have one each of the 2gb and 4gb versions
@jasonwalker4610
@jasonwalker4610 2 жыл бұрын
Can you program c# code, or does it have intellisense for python code?
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
You can program in C/C++ and MicroPython - annd there is intellisense for both
@akshatsharma7573
@akshatsharma7573 2 жыл бұрын
It was very useful😆
@sagarkumbari4828
@sagarkumbari4828 2 жыл бұрын
how to downlaod the pytorch and tensorflow from visual studi code terminal in the Raspberry pi3
@vikaspal2799
@vikaspal2799 3 жыл бұрын
Are you running vscode on raspberry pi pico?
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
No / the Pico is a microcontroller so it doesn’t have networking capabilities or enough ram to run an operating system and vs code. You can run it on a raspberry pi zero though (slowly).
@Alice8000
@Alice8000 Ай бұрын
So inspiring to see a successful LGBTQ+ KZbinr 🏳‍🌈❤ Kev
@sagarkumbari4828
@sagarkumbari4828 2 жыл бұрын
could you please tell me'
Raspberry Pi Pico, OpenCat and MicroPython   Servo Easing
1:13:23
Kevin McAleer
Рет қаралды 2,2 М.
Raspberry Pi Debugging with Visual Studio
16:26
Dave's Garage
Рет қаралды 65 М.
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 41 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 10 МЛН
How to Set Up a Pi-Hole System on a Raspberry Pi - Block Ads and More!
13:32
Remote Python Programming with VS Code and Rasberry Pi
10:40
M Heidenreich
Рет қаралды 11 М.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,5 МЛН
How to Use VSCode with Raspberry Pi Pico W and MicroPython
6:14
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 770 М.
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17
How to Set Up Visual Studio Code to Program the Pi Pico (Windows)
10:09
Learn Embedded Systems
Рет қаралды 117 М.
ChatGPT + Raspberry Pi -  A ChatGPT powered Raspberry Pi chatbot
6:35
Thomas the Maker
Рет қаралды 84 М.
Setting up Visual Studio Code for remote development on a Raspberry Pi
8:01
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37