Programming a Raspberry Pi Pico with C or C++

  Рет қаралды 109,347

Gary Explains

Gary Explains

Күн бұрын

In my previous video I showed you how to use the Raspberry Pi Pico with MicroPython. In this video I take a took at using C or C++ and cover how to run code on the second Cortex-M0+ core.
Full instructions and code examples: github.com/gar...
Open GUI apps on Windows Subsystem for Linux (and on Raspberry Pi: • Open GUI apps on Windo...
Introduction to Android app development: www.dgitacadem...
Let Me Explain T-shirt: teespring.com/...
Twitter: / garyexplains
Instagram: / garyexplains
#garyexplains

Пікірлер: 158
@g0hjq
@g0hjq 3 жыл бұрын
Thank you for a great tutorial. Very useful. As an experiment I wrote C++ and MicroPython programs to toggle an IO pin without any delays. Python managed about 60KHz will lots of jitter, C++ ran at 37MHz without jitter - over 500x faster.
@yash1152
@yash1152 2 жыл бұрын
i think you mistakenely switch K and M.... did you wanted to say 60MHz and 37kHz ??
@g0hjq
@g0hjq 2 жыл бұрын
@@yash1152 Unfortunately not. C++ was much faster than Python, probably because C/C++ is compiled to machine code, whereas Python is interpreted at runtime.
@yash1152
@yash1152 2 жыл бұрын
@@g0hjq ohwww, ohkayy...... I missed reading the "toggle an IO pin" part, and assumed it was the chip spec on which they were running.
@g0hjq
@g0hjq 2 жыл бұрын
@Hardy Spicer Yes, it was very easy to see.
@TomasSawer
@TomasSawer 2 жыл бұрын
Definitely. Python is one of the slowest interpreter of all existing today. Only shell interpreters can be slower. The first and main purpose of it - massive multicore/multiserver math calculations and it has a most advanced math libraries from all languages. But using it as general purpose language is a pure idiotism proposed by hipsters never seen small hardware and realtime systems.
@ruprecht9997
@ruprecht9997 9 ай бұрын
Thanks for useful tutorial. Got up and running on Linux in half an hour. Was getting tired of Arduino and its extremely low RAM. Two cores is pure luxury for a microcontroller, and as your example shows, they are easily utilized. Great!
@piiumlkj6497
@piiumlkj6497 3 жыл бұрын
Extremely interesting stuff , I mean one of the limitations of arduino is that it was single core , so if you had to handle an event you had to use an interrupt which needed to be kept short , but with this one ; one core could do the communication and monitor the pins while the other is making computationally intensive tasks .
@HariWiguna
@HariWiguna 3 жыл бұрын
Gary, this is fantastic! So much knowledge in 20 minutes! I've tried setting up C++ before and failed (I did not use WSL and got errors on cmake), hopefully will succeed with your help.
@JerWare
@JerWare 3 жыл бұрын
The final example of push/pop between cores should have synced both LEDs to be on and off at the same time (per the coded example) but it looks like the same video from previous build was shown with LEDs blinking opposite from each other.
@GaryExplains
@GaryExplains 3 жыл бұрын
Probably.
@antoniodelcogliano2182
@antoniodelcogliano2182 3 жыл бұрын
Great video, I did this onArchlinux and everything worked just fine. I used this video to really get in to c developing for pico, thanks you very much. One question for the people out there, someone has found a way to control an i2c oled in c using Pico? I only found tutorials on how to do it with micropython or circuit python
@adisharr
@adisharr 3 жыл бұрын
Good lord Linux is about a cryptic as it comes.
@tetraquark2402
@tetraquark2402 2 жыл бұрын
Very nice. This is something I want to try when I get my own laptop rather than use my works laptop
@bertblankenstein3738
@bertblankenstein3738 2 жыл бұрын
Going to give the Pico a try when they arrive. Should be a fun mcu, and fun to program in C.
@bertieblob3387
@bertieblob3387 3 жыл бұрын
It might be helpful to specify which version of WSL you are using. How you might set this up could vary between versions. E.g., I believe that on WSL 2, it’s better to use the ‘internal’ Linux file system as WSL2 is VM based. There are/were also issues around serial ports in WSL2. Probably best to stick to WSL1 for this kind of stuff ATM. Great video. Thank you. 👍🏼
@dgloverau
@dgloverau 3 жыл бұрын
Yes you are correct. This is for other readers as I guess you know this already. Wsl2 recommended, Wsl2 better to keep files inside wsl file system. To view files in Explorer then from ubuntu cli then type Explorer.exe. That is a dot following exe to open current directory then copy file to pico
@chairmakerPete
@chairmakerPete 3 жыл бұрын
I am suitably chastened by this brilliant video. Any thoughts I might code in C on a Pico are thoroughly debunked, and I shall very reluctantly pick up the Python handbook and learn another total mess of a programming language instead!! 😂 Kudos to Gary. That's what a proper coder can do. I'm going to tell my boss that the Pico must have been lost in the mail, and hopefully he'll forget about the whole thing 😉
@32_bits
@32_bits 3 жыл бұрын
Another excellent video, wonder how long before VC + Platform IO has native Pico support allowing for easier C programming on a PC and other platforms.
@jumhig
@jumhig 3 жыл бұрын
What a pain to set up. I'm going to wait for a better Pico IDE.
@zeke7237
@zeke7237 3 жыл бұрын
vs.code together with a second pico set up as a picoprobe connected to the SWD pins make a pretty decent dev environment
@jumhig
@jumhig 3 жыл бұрын
Apparently someone has now got the Arduino IDE working with the Pico.
@OpenLogicEFI
@OpenLogicEFI Жыл бұрын
Been 2 years and I'm still having issues getting the SDK to work properly on VS code
@LLlblKAPHO
@LLlblKAPHO 2 жыл бұрын
Было полезно, смотрел с переводом, плата пико уже заказана и едет, жду не дождусь когда смогу начать экспериментировать с ней
@1MarkKeller
@1MarkKeller 3 жыл бұрын
*GARY!!!* *Good Evening Professor!* *Good Evening Fellow Classmates!* Stay Safe Out There Everyone!
@GaryExplains
@GaryExplains 3 жыл бұрын
MARK!
@mytechnotalent
@mytechnotalent 3 жыл бұрын
This is brilliant Gary thank you for doing this. This really shows the power of what is possible here! Taking full advantage of the dual cores is a very much needed gem of a video thank you!
@freeelectron8261
@freeelectron8261 2 жыл бұрын
Very interesting. Thanks Gary!
@MattBaker1965
@MattBaker1965 3 жыл бұрын
Thanks Gary, the Pico project gen' was the thing I missed trying to get the USB serial data. Great work keep it up :)
@parsishashank
@parsishashank 3 жыл бұрын
Perfect 👌👌
@GaryExplains
@GaryExplains 3 жыл бұрын
Thanks 😊
@antoniojohnson7693
@antoniojohnson7693 3 жыл бұрын
I have been unable to get this to work. I installed X-Server, but when ti run the ./pico_project.py --gui command, I get an error saying _tkinter.TclError: couldn't connect to display "127.0.0.1"
@PauloSilva-ll4vs
@PauloSilva-ll4vs 3 жыл бұрын
Me too, the same error...
@cdgal
@cdgal 3 жыл бұрын
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0 export LIBGL_ALWAYS_INDIRECT=1 see: wiki.ubuntu.com/WSL#Running_Graphical_Applications
@johnellerington2676
@johnellerington2676 3 жыл бұрын
You must start X-Windows - run Xterm, you should see the icon on the bottom right of your taskbar
@lincolnwallace8561
@lincolnwallace8561 2 жыл бұрын
@@cdgal You just have saved my day! Really Really Really thanks! ^^
@buildlover9959
@buildlover9959 8 ай бұрын
Just to add some, I did [ kzbin.info/www/bejne/n3zLeKGga56LsLM ] and worked
@spotterinc.engineering5207
@spotterinc.engineering5207 3 жыл бұрын
Hi - Late to the channel - but love your videos. However - one thing I noticed may be an editing error - at 14:36 when you show the two leds on 2 cores using messaging, the video of the blinking is incorrect - it shows the leds blinking alternately with equal duration, while the code was asynchronous with one led twice as fast as the other! Sorry to be nit-picky, but things like that could confuse beginners. Keep up the great work.
@GaryExplains
@GaryExplains 3 жыл бұрын
Yes, it was a footage mix up,it has been mentioned in the comments elsewhere.
@bertblankenstein3738
@bertblankenstein3738 2 жыл бұрын
Thank you for doing this video. I found some instructions on the web, but they were incomplete. I needed the project generator, and the python-tk (tkinger). That it came together. Easy as Pi. Ok, it is a bit more involved... I don't have the picos yet, but I have the development environment set up and can build a uf2 file.
@anunez20
@anunez20 Жыл бұрын
There are several tools to monitor the Serial Port, for instance: minicom, cutecom, screen ....
@andrewtelford7436
@andrewtelford7436 3 жыл бұрын
Great explanation! Looking forward to the rust edition :-)
@bissonFamily
@bissonFamily 3 жыл бұрын
+1 for the Rust version! Love Rust!
@avejst
@avejst 3 жыл бұрын
Isn't Arduino on the way, with support for the processor too? Thanks for sharing your experience with all of us👍😀
@GaryExplains
@GaryExplains 3 жыл бұрын
Yes, it is
@EricWAtchesVideos
@EricWAtchesVideos Жыл бұрын
VS Code has a serial monitor as well.
@eduflyer
@eduflyer 2 жыл бұрын
I see that you also have "#include "pico/stdlib.h"" underlined like I do. I can not run step by step on vscode I get an error that says pico/stdlib.h: No such file or directory Is it possible to step through the code and set up breakpoints in vscode using this method? Is so how? Please help! Thank you so much! Great Video!
@pranjalbaishya1878
@pranjalbaishya1878 Жыл бұрын
Did u got any solution? If you got any solution please help. I am also in the same situation.
@nigelgunn322
@nigelgunn322 2 жыл бұрын
You can also use Forth and BASIC.
@The.Doctor.Venkman
@The.Doctor.Venkman 3 жыл бұрын
Thanks for the demos and detailed information. Really informative videos and inspiring. Mine's on order now!
@AggamRahamim-fs2zm
@AggamRahamim-fs2zm 3 ай бұрын
it compiles but VSCODE gives me errors for the includes and constants... how can I fix that?
@Trivimania
@Trivimania 29 күн бұрын
Can't core 1 write some value to a variable somewhere in memory that can then be read by core 2 ?
@dabunnisher29
@dabunnisher29 2 ай бұрын
I think you do great videos.
@GaryExplains
@GaryExplains 2 ай бұрын
Glad you like them!
@letrainavapeur
@letrainavapeur 3 жыл бұрын
Interesting as usual Gary, thank goodness for Thonny and micropython though
@cmdlp4178
@cmdlp4178 3 жыл бұрын
Where is a link to the installation of the x server?
@GaryExplains
@GaryExplains 3 жыл бұрын
Sorry, I forgot to include it in the description, however it was in the README file in my GitHub. I will fix the description. The link is kzbin.info/www/bejne/r565aJ1mZZh4iqM
@elshiftos
@elshiftos 3 жыл бұрын
Great video as usual, but why run under WSL on a windows machine instead just following the setup instructions for running under windows 10? I had a go at setting up Visual Studio Code on a PC running Ubuntu by following the instructions for RPi, but encountered too many hurdles and had to give up!
@markderlo212
@markderlo212 Жыл бұрын
So did you manage to program rpi pico in C under win10? Because this is what I am looking for...
@deathscyth76
@deathscyth76 3 жыл бұрын
Cool guide, Gary! Thanks!
@GaryExplains
@GaryExplains 3 жыл бұрын
Glad it was helpful!
@aliemad9455
@aliemad9455 10 ай бұрын
Very very helpful. Thank you❤
@GaryExplains
@GaryExplains 10 ай бұрын
You’re welcome 😊
@ramonedrozojr.768
@ramonedrozojr.768 6 ай бұрын
Would be okay if you showed us from scratch, I don't know how you opened that terminal from the start.
@DAVIDGREGORYKERR
@DAVIDGREGORYKERR 2 жыл бұрын
What about the latest version of Code::Blocks IDE Cross Compiler and gcc-arm-eabi
@wlcrutch
@wlcrutch 6 ай бұрын
Gary you are the man. What is your profession?
@GaryExplains
@GaryExplains 6 ай бұрын
KZbinr? 🤔
@wickeddubz
@wickeddubz 3 жыл бұрын
Using putty for serial connection will be more convenient i guess. Opening the whole IDE just for serial monitor is kinda overkill
@GaryExplains
@GaryExplains 3 жыл бұрын
I think that putty has a problem in that it can't leave the connection open when the board of rebooted. I found it much more difficult to use than the Arduino serial monitor.
@wickeddubz
@wickeddubz 3 жыл бұрын
@@GaryExplains good point, but still weird that you need two IDE to and debug the code. If connection is dropped, right click on the top left corner of putty and select Restart Session. C/C++ is super powerful, but most of people would prefer easy ways of setting up their programming tools. Are there any lightweight IDEs that support C/C++ and can keep serial connection open?
@RickMcMichael
@RickMcMichael 3 жыл бұрын
Anyone out there one a purely Raspberry Pi Pico C/C++ Visual Studio video? Tired of all the Cmakes/Gits... Just want to build from scratch...
@eFeXuy
@eFeXuy 3 жыл бұрын
I can't get the serial monitor working, inside Arduino IDE the port option is greyed out and trying to open the terminal errors to "board on null not available"
@Graham1904
@Graham1904 6 ай бұрын
Why are the two includes showing error?
@Woodiii
@Woodiii 3 жыл бұрын
I get the error: couldn't connect to display "127.0.0.1:0" what should I do?
@johnellerington2676
@johnellerington2676 3 жыл бұрын
You must start X-Windows - run Xterm, you should see the icon on the bottom right of your taskbar
@paulbarton4395
@paulbarton4395 Жыл бұрын
Hi, I have a question about what is happening at 6:40. When I installed wsl, it created a username and directory that I cannot find in C\Users or anywhere in my file explorer, but I got everything installed up to this point, in a directory called pico, etc. Command 'pwd' shows that a linux 'home' directory was created but I cant find any of this on my system through windows explorer. Not sure how to do the PATH, /mnt/ stuff now. Again, when I installed wsl it just handed me a username (maybe based on my Windows ID, not my pc 'name') without asking me and created some secret directory somewhere; I'm not sure how to proceed. Do I really need the windowing system in general or is it just for the demos?
@Bhatt_ji4300
@Bhatt_ji4300 3 жыл бұрын
Thank sir
@jonasfelipe777
@jonasfelipe777 2 жыл бұрын
I'm not finding anywhere in the internet how to program the raspberry pi Pico registers in c. Do you know how?
@GaryExplains
@GaryExplains 2 жыл бұрын
Yes, look at my videos about Piccolo OS, there is lots of register programming involved in that.
@wayland7150
@wayland7150 Жыл бұрын
Ah, I remember the C development cycle. Edit, save, make, upload, boot, test then repeat. I've got PicoMite MMBASIC on mine and this same thing is Edit, Run then repeat. A much faster development cycle.
@CandyGramForMongo_
@CandyGramForMongo_ 2 жыл бұрын
Wait, after you build Cmake with gcc, shouldn’t you then rebuild Cmake with Cmake?
@paulturner5769
@paulturner5769 3 жыл бұрын
So, at 14:34, why wasn't LED_PIN14 flashing twice as fast as LED_PIN25? I smell a rat! LED_PIN14 delays are set to 500ms whilst LED_PIN25 delays are set to 1000ms
@GaryExplains
@GaryExplains 3 жыл бұрын
Ah, I see what you mean now (following your edit of your comment). Yeah, that means I mixed up the footage when I edited the video. Sorry about that.
@furank_i
@furank_i 2 жыл бұрын
I wonder if both cores share the same memory or even context within the code. Like if for example I had the pico constantly polling a couple gpio pins with one core and processing and sending their data through serial with the other core, if I saved the state of the gpio on different variables, would I be able to access their values from the second core?
@GaryExplains
@GaryExplains 2 жыл бұрын
There is lots of good documentation about this on the Raspberry Pi website. The recommended method is to use the FIFOs supplied by the SDK.
@kenbrand1843
@kenbrand1843 3 жыл бұрын
Very interesting Gary! Can you run Julia on it?
@mr1enrollment
@mr1enrollment 2 жыл бұрын
Can you explain how to write C for core 2 and Python for core 1?
@RobertLeather
@RobertLeather 3 жыл бұрын
Hi Gary, long time no see. You ever go back to the University of Portsmouth? Seems like a decent little device.
@supreetyadav5021
@supreetyadav5021 3 жыл бұрын
Can't we use the other core in micropython?
@GaryExplains
@GaryExplains 3 жыл бұрын
Sure, of course. See github.com/raspberrypi/pico-micropython-examples/blob/master/multicore/multicore.py
@supreetyadav5021
@supreetyadav5021 3 жыл бұрын
@@GaryExplains thank you xD
@sddndsiduae4b-688
@sddndsiduae4b-688 3 жыл бұрын
@@supreetyadav5021 important to note here muticore fifo implementation on pi pico is mostly hardware, so in case of c++ program can work even faster than on latest intel cpu.
@barchilsaid3001
@barchilsaid3001 3 жыл бұрын
Many many Thanks.
@GaryExplains
@GaryExplains 3 жыл бұрын
You are most welcome
@yahmk3978
@yahmk3978 3 жыл бұрын
Thank you!
@naveenvaid4318
@naveenvaid4318 3 жыл бұрын
hlo sir i don't know about python i know about c for arduino can i use pi pico
@ke4est
@ke4est 3 жыл бұрын
Gary keep getting this error: E: Unable to locate package tkinter
@GaryExplains
@GaryExplains 3 жыл бұрын
Sorry, that is a mistake in the instructions, I will fix it soon. Just leave that out of the command.
@checkpoint.
@checkpoint. 3 жыл бұрын
use this command instead "sudo apt install gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential libssl-dev tk python3-tk"
@pristojankanal1954
@pristojankanal1954 2 жыл бұрын
my is keep crashing.Win version 20H2 Build 19042.1237
@quaziz
@quaziz Жыл бұрын
Thanks for a great tutorial. Sadly I couldn't continue from where you were explaining X11 monitor stuffs. I don't have a raspberry pi to run on. How can I proceed without an other raspberry pi or other machine at all? Thanks a lot!
@quaziz
@quaziz Жыл бұрын
Okay, so I checked the docs right after I wrote. Letting others with the same problem know and hopefully also get som help on my next problem. So it seems like I don't have to use any GUI, so I instead used the terminal and wrote: "./pico_project.py -usb blinky" which should give me a generated. but that gives me "Unable to locate the Raspberry Pi Pico SDK, PICO_SDK_PATH is not set" which I actually set when watching the tutorial. Any reason known why this is happening?
@quaziz
@quaziz Жыл бұрын
I can also see that it is set by "echo $PICO_SDK_PATH"
@quaziz
@quaziz Жыл бұрын
For those who has the same problem, just edit your /etc/environment file and add the ENV variable
@gedtoon6451
@gedtoon6451 Жыл бұрын
Do Raspberry Pi Ltd have an ARM licence, or did they use a third party to design and manufacture the RP2040?
@GaryExplains
@GaryExplains Жыл бұрын
It likely has an entry level license to use the Cortex-M0+. Arm has quite a few "quick start" schemes for its Cortex-M range.
@BrianG61UK
@BrianG61UK 6 ай бұрын
The multicore example showed code to flash one LED at double the rate of the other, yet that didn't happen. Did you just use the wrong clip in the video?
@GaryExplains
@GaryExplains 6 ай бұрын
Yes, I used the wrong clip. Sorry.
@BrianG61UK
@BrianG61UK 5 ай бұрын
@@GaryExplains That's good. It means I did understand what was happening.
@dillondriskill6403
@dillondriskill6403 2 жыл бұрын
Great stuff here, however, I am running into an issue where even if I do the "export PICO_SDK_PATH" command correctly, pico_project.py will pop up and tell me it is unable to locate the pico sdk path. I am very frustrated and have tried everything.
@dillondriskill6403
@dillondriskill6403 2 жыл бұрын
a workaround i have found was to edit pico_project.py and during the check for the sdk path, i simply set sdkPath equal to my pico sdk path. Not ideal, but it works
@johnellerington2676
@johnellerington2676 3 жыл бұрын
Trying this with Ubuntu 21.04 and latest Cmake v3.21.0 and the make process fails, "CMake Error at CMakeLists.txt:107 (message): The C++ compiler does not support C++11 (e.g. std::unique_ptr)". Re-tried with the same versions of Ubuntu and Cmake as you use in the video, same error.
@johnellerington2676
@johnellerington2676 3 жыл бұрын
Problem solved - you must use WSL v1, not WSL v2
@harelib11
@harelib11 2 жыл бұрын
It just doesn't work for me.... The xhost + fails, and same goes for the cmake .. and make commands..... Idk what you did but it just doesn't work for me
@PauloSilva-ll4vs
@PauloSilva-ll4vs 3 жыл бұрын
Problems found: 1-unable to connect to display 127.0.0.1:0 To solve just install VcXsrv to windows... 2-pico-project-generator claims about CMAKE_CXX_COMPILER not defined To solve in the same terminal you run pico-project-generator do this exports: export CC=arm-none-eabi-gcc export CXX=arm-none-eabi-g++ 3- Now I am strungling with: /build/newlib-CVVEyx/newlib-3.3.0/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:64: undefined reference to `_exit' I have no ideia how to solve it yet... 4 - Item #3 was solved starting from scratch and following the Gary instructions from github.com/garyexplains/examples/tree/master/Raspberry%20Pi%20Pico/C in readme.md, and not instructions from video.
@TheDutchisGaming
@TheDutchisGaming 2 жыл бұрын
I remember solving the 1st one somehow but now I am stuck with it again even though I got everything on. Edit: Found it in my history: export DISPLAY=$(ip route list default | awk '{print $3}'):0
@chrishopton733
@chrishopton733 15 күн бұрын
@@TheDutchisGaming Thanks, this ended up working.
@jonathangerard745
@jonathangerard745 3 жыл бұрын
Can it be programmed with Rust?
@thanhtranngoc7920
@thanhtranngoc7920 2 жыл бұрын
thanks alots
@svenbauerle7277
@svenbauerle7277 3 жыл бұрын
Thank you very much! Very usefull. May I ask you to make a tutorial with a rotary encoder connected via 1 or/and 2 irqs to the pico? I am struggeling with this, because there is no Encoder library.
@BR-hi6yt
@BR-hi6yt 3 жыл бұрын
This puts me off ever attempting it.
@InboundG
@InboundG Жыл бұрын
Getting through running all those commands was a nightmare, spent 4 hours just solving random errors. Why does it never just work 🤣
@justinberdell7517
@justinberdell7517 2 жыл бұрын
Where did you learn how to make a project? This is not it the Getting Started C/C++ doc. Also, just my 2 cents, I'm an electrical engineer with an advanced degree and this workflow is kind of ridiculous for a hobbyist product. Oh, it's way off in chapter 8 lol I should have looked more closely. Man nothing in my setup matches the documentation. Honestly, just programming a real microcontroller in Code Composer and Flashing with a J-Link is easier than this. I've never been impressed with Raspberry Pi products
@meneerjansen00
@meneerjansen00 2 жыл бұрын
Thank you for this video on C on the Pico instead of that _dreaded_ Python shite. I hate Python with a passion because: 1. Python code is not backward compatible. Yep, that's right: all you hard work for a Python ver. 2 script won't do you any good in Python 3. Bye, bye hard work. C has been around since the 1980's and your code'll work forever. 2. It's a scripting language that needs the Python executable. It's not a programming language: you can *not* make actual programs with Python. 3. Python code ain't backward compatible. 4. Python code ain't backward compatible. It's utter and utter shite.
@ayush.kumar.13907
@ayush.kumar.13907 3 жыл бұрын
Boku no Pico Best Anime
@sergeybrutspark
@sergeybrutspark 3 жыл бұрын
I am the 1K liker
@acrodrigues1
@acrodrigues1 3 жыл бұрын
What an heresy using arduino to monitor rpi pico! 😂😂😂
@zRedPlays
@zRedPlays 2 жыл бұрын
0 progress. couldn't download most of the packages and execute many commands, I'm on windows 10 and he's just showing ubuntu linux commands
@GaryExplains
@GaryExplains 2 жыл бұрын
There is plenty of documentation on the Raspberry Pi website about how to install the tools on native Windows. But just to clarify, I am using Windows 10, but I am using WSL, the Windows Subsystem for Linux.
@zRedPlays
@zRedPlays 2 жыл бұрын
@@GaryExplains Eventually i found a way to make it work, your video did help me in knowing what packages i had to install, I'm sorry if i offended you in any way, didn't mean to show any kind of hate! Keep it up!
@d.j.peters
@d.j.peters 3 жыл бұрын
installing GB for programing a 32bit micro controller to blink an LED WTF we are in 2021 not 1990 :-)
@amalirfan
@amalirfan 3 жыл бұрын
I find C tutorials entertaining, is that normal?
@chillipaste2183
@chillipaste2183 3 жыл бұрын
So frustrating! Been searching for a month now how to get started with this snake language. But NOWHERE is there any explanation of how to open the terminal window or WHERE to download it from. I think I should better stay with arduino?
@GaryExplains
@GaryExplains 3 жыл бұрын
I am assuming you are taking about the Windows Subsystem for Linux (WSL)? If so, I have several videos about how to set it up, here on this channel.
@chillipaste2183
@chillipaste2183 3 жыл бұрын
Many thanks for your reply. I'm on windows 7. Been looking for a tutorial on how to get started from the point of not having a clue what the very first step is. (Just bought a pico). All turorials say "open terminal window".... sure... WHERE or WHAT icon do I click to open the terminal window? LOL oh... and then they type some weird stuff in there at lightning speed. I have a good understanding of C++ but this snake (python) language scares me. Nany thanks for your videos and for sharing your kowlege. I'll dig deeper into your previous videos.
@GaryExplains
@GaryExplains 3 жыл бұрын
Just as a first pointer, you need Windows 10 for WSL.
@chillipaste2183
@chillipaste2183 3 жыл бұрын
Oh dear! Many thanks for the heads up. I guess that'll be the end of my quest getting into anything rasberry or pie things. I cannot afford win 10.
@bruceblosser2040
@bruceblosser2040 3 жыл бұрын
This has turned out to be more reasons why I am glad I don't use C!!!
@adisharr
@adisharr 3 жыл бұрын
Tell me about it - 6 pages of crap just to use C.
@markderlo212
@markderlo212 Жыл бұрын
I like your vids a lot but you talk too fast !!! Why rush ?
@levmatta
@levmatta 3 жыл бұрын
First
@trevthea5781
@trevthea5781 3 жыл бұрын
Jeeeez... there's nothing new or special about this pi. It's 20 year old tech. Why don't they innovate? Here's an idea... build a 5ghz wifi radio, on an ARM cpu for $2.
@trevthea5781
@trevthea5781 3 жыл бұрын
BTW Gary, I love your videos. Keep them coming. My rant is targeted at the PI foundation.
@trevthea5781
@trevthea5781 3 жыл бұрын
@@cronchcrunch the ESP32 is a more powerful CPU that has WiFi 2.4 ghz so it can connect to the internet. Why didn't the PI foundation innovate something like that? These PI arm chips are all hype unfortunately. If you know anything about the ARM ecosystem, you'll agree.
@trevthea5781
@trevthea5781 3 жыл бұрын
@@cronchcrunch I agree. More powerful, in terms of speed, isn't needed. I suggested that more innovation is needed, not power. Hope that clarifies.
@trevthea5781
@trevthea5781 3 жыл бұрын
@@cronchcrunch learn to read. OP is 5ghz wifi, not 5ghz ARM cpu.
@sddndsiduae4b-688
@sddndsiduae4b-688 3 жыл бұрын
and which other cpu do have multicore hardware fifo implementation?
@mba2ceo
@mba2ceo Жыл бұрын
Needs to be made simpler - some write a GUI like Code Blocks for the pi
Raspberry Pi Pico - Review and Getting Started
18:32
Gary Explains
Рет қаралды 75 М.
Blink LED in C/C++ on the Raspberry Pi Pico [Linux SDK Setup]
8:36
Low Level Learning
Рет қаралды 42 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 10 МЛН
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 21 МЛН
10 years of embedded coding in 10 minutes
10:02
Greidi Ajalik
Рет қаралды 396 М.
How to Set Up Visual Studio Code to Program the Pi Pico (Windows)
10:09
Learn Embedded Systems
Рет қаралды 115 М.
rust runs on EVERYTHING (no operating system, just Rust)
14:29
Low Level Learning
Рет қаралды 212 М.
Raspberry Pi Pico
16:16
ExplainingComputers
Рет қаралды 309 М.
Raspberry Pi Pico 2 | Everything You Need To Know
7:04
Core Electronics
Рет қаралды 47 М.
Raspberry Pi Pico - Getting Started with MicroPython REPL (on Windows)
10:28
Use BOTH Cores  |  Dual Core Programming on the Raspberry Pi Pico
7:49
Low Level Learning
Рет қаралды 39 М.
In-depth: Raspberry Pi Pico's PIO - programmable I/O!
17:19
stacksmashing
Рет қаралды 134 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 10 МЛН