Man I wish I was ten years old and found you. I gave up my “IT” / “programming “ career at age 19 having a hard time with the calculus. While I have been fine, just realize how much I enjoyed that time. Bless you - this seems sort of a “giving back” so keep it up!
@@wolflarson100 I’ve been coding since the early 90s and never once have I needed calculus. I’ve used a little trig and geometry before but nothing anyone couldn’t figure out.
@@bobDotJSI switched from an engineering background into software development at age 39. Before that, coding was just a hobby. To achieve that, I went to university and completed a Bachelor's degree in computer science in my mid 30's.
I also had trouble with calculus but I managed to spend over 40 years in electronics and programming. After I retired, I found out that the best calculus lessons were right here on RUclips. I wish that it had existed when I needed it. I worked in the controls industry and I actually used calculus once or twice with PID control loops. Fortunately, I had some great people on my team to help me through the rough spots.
There's no reason why not to restart as a hobby on the Raspberry Pi (that was what it was designed for in 2011 - to tech UK children coding) and have fun at it while being older - i work and play (home) with RPis at almost 60 years old!
It is definitely comforting to see that even a seasoned professional like you still makes mistakes at such a basic level. It gives me confidence in my own very basic abilities. Thanks for sharing, and yes these short videos are great. Lets try and get back to some more addressable LED stuff.
It's not so much about not making errors, but the ability to spot them more or less immediately because you've done them a million times by this point xD
Definitely do more of these. I have list of small projects on YT that I go to when I get board just to play around with. Simple cheap little things to just spend a lazy Sunday playing and tweaking around with.
Man, I love this! Even love how you left the mistakes in there and included tracking them down and fixing them as part of the video. Even a 5 minute video! I certainly cast my vote for more of these. So, so many tutorial type videos are horribly inefficient with either lots of dead air or constant jokes/silliness that distract from the main learning objective.
Exactly! I saw the void/int problem coming. Dave addressed it out loud and onscreen, rather than it magically being fixed in the next cut. This helps youngsters (and oldsters like me!) learn and remember that mistakes are PART of the creative process.
32-years ago, while attending our local community college, I had the joy of revisiting traditional Basic, before migrating to Assembly (via Masm), C++, & even a little Fortran. My original experience with Basic started back in the early 1980's with Commodore PETS. Our Grade School eventually upgrade to VIC-20's, then 64's, & finally 128's. Fun experiences to be sure.
Dave - AWESOME! Yes, definitely do more of these between your usual vlogs! I like how you kept it real with on the fly debugging and typos. My C++ routine returns a "high five" ! 👏
Short or long format, I love it when you code live! Your ESP32 addressable LED series is what hooked me on your channel and started me on my favorite hobby.
Does anyone even know where to begin to try to emulate _pun intended_ Dave's set up here. Looks like some terminal application on a Mac. But then what? The font? The ghosting effect? Where are these coming from? Which applications' settings are responsible?
@@mikemcculleyLooks like a CRT theme for nano. This is a terminal emulator on the rpi. My guess is he just grabbed the individual screen with video editing software.
1. No BS on this channel - right into the code! Makes me want to set this up and write the same program in C with printf, etc., like I did 40 years ago! 2. I need to see if Dave has a “how to install a Linux-ish OS on a Raspberry Pi in 5 minutes” video… 3. Do you guys see the simulated amber CRT scan lines on his terminal? SO COOL! 4. Would love the follow-up to show us the EASY way to use Visual Studio Code and SSH - that sounds like an AWESOME combo. Amazing - having a little itty bitty Arduino acting as the SERVER to a 4GHz modern client workstation. Loving this! Thank, you Dave for producing this content, sir.
For me as an amateur/hobbyist in my fifties starting w/ C programming it was very encouraging to see that even a very seasoned programmer like you made mistakes and typo's in his code. You appeared not be be impressed or discouraged by error messages. Instead you seemed to be familiar with encountering them and handled them as if it was nothing special. Everybody makes mistakes. Keep these short programming sessions coming!
Love the retro atmosphere down to the clickety clack of the "IBM keyboard". It reminds me of my first job out of college in the late 1980s. Our first PCs we got in the office had monochrome amber screens (some had green)....so retro! I used my first graphics program on Windows 2.0 on an amber screen - when we went to full color a year later it felt so luxurious.
This brought me back to my C++ coding experiments. Really enjoyed watching how quickly you type and the orange text reminded me of using VT100 terminals! Nice job! I like both formats Dave and the depth of knowledge you share!
Really cool! I appreciate the encouragement to not be afraid to try C++ - although I tried it as a teen, and found it kind of overwhelming coming from BASIC, this is the perfect demo to make the case that it’s possible for even a beginner to do something useful in C++!
Liked very much. My daughter is building a raven animatronic kit with servos and i wanted to use c++ with a raspi. This provides a great start. She wanted me to assist with the coding part. Thanks!
I like the format. It's short, practical, and beginner friendly. If you'd like a suggestion, do more of these! P.s.: I was already a subscriber and would continue to be anyway. Most the time I hope to understand your content, but this one I was able to from top to bottom.
Nice format. Like the mix of software and hardware in short byte-size videos. So many experiments and lessons possible, that could lead to a resourceful playlist over time.
Awesome vid Dave! Most raspi beginners would prob see such an example in Python, so it'd be an interesting foray for someone to use C++ with the hardware if they've never done so. My only issue is with the use of the additional breakout board, you may want to link to where someone could buy one or show how yours is connected, or include links to additional wiring diagrams to prevent any confusion with the physical components. Otherwise, keep up the great work!
I like this format better. It is kinda inspiring and it encourages me to go back to this kind of programming if needed. I am an electrical engineer with a commodore 64 background (assembly) who lives in databases and business software now.
I like the short form content. But, in your case even your longer videos are just fine because you move right along and rarely repeat yourself. I really dislike the people who start out disorganized, not knowing what they're gonna talk about, fumble around, and then end up retreading the same ground several times. I usually click away from those before they finish.
@@brandyballoon CRT. It was common for 1980's CRTs to come with either green, or amber phosphor .. essentially a black/white TV with a color filter, instead of white.
@@AerialWaviator I'm familiar with CRTs and how they work, but "plasma CRT" is not something I've heard of. Maybe they meant to say phosphor instead of plasma.
Not sure if there were plasma monitors, but large-screen plasma TVs existed, pre-LCD, pre-LED. There were expensive and seen as offering brighter display vs. projection TV systems. (a tech with a short lifecycle)
This short format wasn't half bad. You even left in the typos, which is good so both you and the viewers can feel human. Is the c++ compiler installed by default on the raspberry?
I like the shorter format. After more than about 10 minutes of you, my eyes glaze over and I just can't absorb your knowledge at that pace. This was much better.
Wow, that looked an easy setup. A few years ago | gave up on C++ on the Pi due almost entirely to the complexities and vague nature of the tool-chain. Great video that should hook others in where I gave up - albeit after giving it a GOOD CRACK.
Last night i coded a telegraphy beeper with a single LED blinking in sequences and beeping sounds. I used a gpio library and i imported 2 .wav files for a dot been and a line beep. Cool stuff. I made it for my dad in Python on a Pi, he is an old telegraphist so i did it for fun to see his reaction and i was curious to see can he recognize morse code when its really fast. He still got it 😁
Nice video. I wouldn’t worry about the resistor with a blue LED. Most of them have a forward voltage of 3.2 to 3.4 V. Sometimes you can’t even get them to light at 3.3 V.
But switch to red, and it can get a bit toasty since they normally need 1.6 - 1.8 V. So a bit of excess voltage needs to be dropped somewhere. And a bit sad to have the processor output pin have to sag down.
So this is great. However, for us people new to a Pi we need to know: 1. What (O/S) image did you flash to the SD card to even be able to boot / get a prompt. 2. What library's / updates did you download / install (and how to do that). 3. Explain the G++ compile line parameters. 4. Actual hardware pin # vs code pin #, if different. Thanks!
This is fun and interesting. I want to see more of these Raspberry Pi small projects, they are very cool. Maybe next time, you could find a use case for these blinking LED lights or something along those lines. For example like a motion detection software, or trigger it based on events that happens in the computer on Windows, for example when receiving mail or when there's a alert on the screen. That could be fun and interesting.
Just for historical context, you could do this in Basic on a BBC Microcomputer back in 1981 using only a couple of lines of code. The first line would set the user port to output mode, the second would set which bits output a voltage so that attached LEDs would light up as desired. Now the PI is massively more capable machine, but few modern machines can embarrass the model B in terms of flexibility.
Nice quick video. But it always amuses me how these days we use a powerful quad-core processor and a high-level object-orientated capable compiled language, to blink an LED. In the old days we used a 555 timer. I guess our good-ole 555 timer is a bit under-powered these days, when it comes to the complex task of blinking an LED. 🤓
5 minutes is great! So good to see braces used correctly, instead of opening at the end of a line. And the clicky keyboard, reminds me of my 3270 days 🙂
I need one of these tied into MS Teams. I hate that I get bombarded with notifications every time a single word or sentence is muttered by someone. 1 notification a minute would be a life saver.
Would be really cool to get a breakdown explanation series of different wiring/electric concepts required to put this stuff together (safely). That way people have a general mental model of the physical configuration to go along with the videos you do with the programming stuff.
Phew, I thought I was loosing my mind on not making this work in windows. If Dave starts with Linux as step one, that's likely the best route. Thankfully VS is available in Linux.
This was cool! Thanks, Dave. I'd love to see more little quick fire things like this one. Glad to see constexpr being used instead of ugly, old-skool preprocessor stuff too.
Love it. I'm quite familiar with python but not c++. The syntax and functions are different, so are some of the declarations, so I'm enjoying this to learn more.
Programming can be fun, and frustrating at times. Way back, perhaps twenty or thirty years ago I bought some introduction book for C. This book was exactly meant for beginners who had never touched C so I thought it would be a good start. My history was basic, pascal, assembler for several processor architectures, Forth, and a few more I could code a Hello World message in. So I started reading and got through the first five pages and then nothing made sense anymore. I just couldn't understand what the author was tying to say and no matter what I couldn't make head or tails of his explanations. So I bought another book from another publisher and thought I'd give it a go again. Same thing at exactly the same part. Now I got frustrated and decided there had to be something wrong with me as I just couldn't understand WTF they were talking about. Finally I looked at the author and the name sounded familiar, so I looked at the first book and wouldn't you know, it was the same author writing another book about programming C and sold through another publisher. I got so pissed I gave up on C altogether and now I haven't coded anything more advanced than very simple batch files in the last 15 years.
Hello, Dave! After watching this the other day, I was inspired to finally start learning how to program c++ for the 2 arduino boards I have purchased, past the blinking light. What would you suggest as far as books or tutorials to learn to code as a complete “n00b” to coding? I prefer books, but I also prefer to listen to people who know what they are doing (you… OBVIOUSLY!😂) If you so happen to read this, thank you!
I can see a simple fade in/out using a couple of for loops in that loop that sets the duty cycle, but you would probably want to make sure that the chrono library supports microseconds as well as milliseconds for best effect, and probably add a 'duty cycle' function that takes the value of the for loop and then operates the LED for that duty cycle for one millisecond and either returns void, or 0. If chrono doesn't support microsecond timing, I'm pretty sure that something does. (And there should be enough headroom in there to let the processor on even a PiZero continue to handle everything else.
@@mgancarzjr Unless it's run through an optimizing compiler. Some of which will simply replace any calculation with a variable assignment to the calculated result. But if you can prevent that from happening... 🙂
I like Dave's curly brace style. I don't know why lot of people use the K&R style which looks very unbalance and ugly. Some said, it saved lines, I don't know what for.
Man I wish I was ten years old and found you. I gave up my “IT” / “programming “ career at age 19 having a hard time with the calculus. While I have been fine, just realize how much I enjoyed that time. Bless you - this seems sort of a “giving back” so keep it up!
I don't know how old you are now but I changed careers and became a software engineer at 29 after dropping out of CS twice at 18 and 19
@@wolflarson100 I’ve been coding since the early 90s and never once have I needed calculus. I’ve used a little trig and geometry before but nothing anyone couldn’t figure out.
@@bobDotJSI switched from an engineering background into software development at age 39. Before that, coding was just a hobby. To achieve that, I went to university and completed a Bachelor's degree in computer science in my mid 30's.
I also had trouble with calculus but I managed to spend over 40 years in electronics and programming. After I retired, I found out that the best calculus lessons were right here on RUclips. I wish that it had existed when I needed it. I worked in the controls industry and I actually used calculus once or twice with PID control loops. Fortunately, I had some great people on my team to help me through the rough spots.
There's no reason why not to restart as a hobby on the Raspberry Pi (that was what it was designed for in 2011 - to tech UK children coding) and have fun at it while being older - i work and play (home) with RPis at almost 60 years old!
It is definitely comforting to see that even a seasoned professional like you still makes mistakes at such a basic level. It gives me confidence in my own very basic abilities. Thanks for sharing, and yes these short videos are great. Lets try and get back to some more addressable LED stuff.
It's not so much about not making errors, but the ability to spot them more or less immediately because you've done them a million times by this point xD
Hey, that's what I thought too! :)
Typos are a way of life, no matter what your history.
Definitely do more of these. I have list of small projects on YT that I go to when I get board just to play around with. Simple cheap little things to just spend a lazy Sunday playing and tweaking around with.
Man, I love this! Even love how you left the mistakes in there and included tracking them down and fixing them as part of the video. Even a 5 minute video! I certainly cast my vote for more of these. So, so many tutorial type videos are horribly inefficient with either lots of dead air or constant jokes/silliness that distract from the main learning objective.
Exactly! I saw the void/int problem coming. Dave addressed it out loud and onscreen, rather than it magically being fixed in the next cut. This helps youngsters (and oldsters like me!) learn and remember that mistakes are PART of the creative process.
I like this format. I also like your longer format. Very interesting video!
I loved this video! As an old C++/UNIX/LINUX programmer, this brought back fond memories. I think I'll fire up my Linux box and run VI!
32-years ago, while attending our local community college, I had the joy of revisiting traditional Basic, before migrating to Assembly (via Masm), C++, & even a little Fortran.
My original experience with Basic started back in the early 1980's with Commodore PETS. Our Grade School eventually upgrade to VIC-20's, then 64's, & finally 128's. Fun experiences to be sure.
Dave - AWESOME! Yes, definitely do more of these between your usual vlogs! I like how you kept it real with on the fly debugging and typos. My C++ routine returns a "high five" ! 👏
Short or long format, I love it when you code live! Your ESP32 addressable LED series is what hooked me on your channel and started me on my favorite hobby.
I love the colors, fonts, and effects on the terminal.
Gives me Avalon vibes.
Amber TTY is definitely a respectable quality.
Worth the extra bucks if available on a CRT.
Does anyone even know where to begin to try to emulate _pun intended_ Dave's set up here. Looks like some terminal application on a Mac. But then what? The font? The ghosting effect? Where are these coming from? Which applications' settings are responsible?
@@mikemcculleyLooks like a CRT theme for nano. This is a terminal emulator on the rpi. My guess is he just grabbed the individual screen with video editing software.
The program is called _Cool retro term_ in Linux. ;)
1. No BS on this channel - right into the code! Makes me want to set this up and write the same program in C with printf, etc., like I did 40 years ago!
2. I need to see if Dave has a “how to install a Linux-ish OS on a Raspberry Pi in 5 minutes” video…
3. Do you guys see the simulated amber CRT scan lines on his terminal? SO COOL!
4. Would love the follow-up to show us the EASY way to use Visual Studio Code and SSH - that sounds like an AWESOME combo. Amazing - having a little itty bitty Arduino acting as the SERVER to a 4GHz modern client workstation.
Loving this! Thank, you Dave for producing this content, sir.
Never got into C++ on the Pi, now I know what I'm doing this weekend.
I hope this gets a lot of views. I would love to see more of this!
Definitely passing onto my Raspberry Pi newbie students at the university I work at as a teaser and intro to 'C' on the RPi - thanks Dave!
For me as an amateur/hobbyist in my fifties starting w/ C programming it was very encouraging to see that even a very seasoned programmer like you made mistakes and typo's in his code. You appeared not be be impressed or discouraged by error messages. Instead you seemed to be familiar with encountering them and handled them as if it was nothing special. Everybody makes mistakes.
Keep these short programming sessions coming!
Love the retro atmosphere down to the clickety clack of the "IBM keyboard". It reminds me of my first job out of college in the late 1980s. Our first PCs we got in the office had monochrome amber screens (some had green)....so retro! I used my first graphics program on Windows 2.0 on an amber screen - when we went to full color a year later it felt so luxurious.
This brought me back to my C++ coding experiments. Really enjoyed watching how quickly you type and the orange text reminded me of using VT100 terminals! Nice job! I like both formats Dave and the depth of knowledge you share!
Really cool! I appreciate the encouragement to not be afraid to try C++ - although I tried it as a teen, and found it kind of overwhelming coming from BASIC, this is the perfect demo to make the case that it’s possible for even a beginner to do something useful in C++!
Liked very much. My daughter is building a raven animatronic kit with servos and i wanted to use c++ with a raspi. This provides a great start. She wanted me to assist with the coding part. Thanks!
Love the terminal session effects! I need to find that now. Brings back old memories. Thanks!
I like the format. It's short, practical, and beginner friendly.
If you'd like a suggestion, do more of these!
P.s.: I was already a subscriber and would continue to be anyway. Most the time I hope to understand your content, but this one I was able to from top to bottom.
Love that terminal. Reminds me of my first display, an amber Samsung 12" monitor that was connected to a Hercules/CGA videoboard at the time.
It's called 'Cool retro term' in Linux. ;)
Direct, to the point, informative.... what's this doing on RUclips?? :-)
Nice format. Like the mix of software and hardware in short byte-size videos. So many experiments and lessons possible, that could lead to a resourceful playlist over time.
Nice format and nice tutorial! Also love your use of cool-retro-term, it looks awesome! :D
I love your terminal glow, it's so warm
great channel! I got into computers during the 386sx era in the late 80’s and love hearing all about the 3.1 and 95 era
Awesome vid Dave! Most raspi beginners would prob see such an example in Python, so it'd be an interesting foray for someone to use C++ with the hardware if they've never done so. My only issue is with the use of the additional breakout board, you may want to link to where someone could buy one or show how yours is connected, or include links to additional wiring diagrams to prevent any confusion with the physical components. Otherwise, keep up the great work!
I like this format better. It is kinda inspiring and it encourages me to go back to this kind of programming if needed. I am an electrical engineer with a commodore 64 background (assembly) who lives in databases and business software now.
I like the short form content. But, in your case even your longer videos are just fine because you move right along and rarely repeat yourself. I really dislike the people who start out disorganized, not knowing what they're gonna talk about, fumble around, and then end up retreading the same ground several times. I usually click away from those before they finish.
Massive respect for using nano!
Enjoyed the short, purpose-focused video. I like to be reminded that I could still write code to some degree if the need were to arise.
Dave!!! Legend for using the colours on the screen. Just like the old plasma CRTs screens we used to have back in the 80. Takes me back.
Plasma?
it must be a display effect of the mac terminal app he is using
@@brandyballoon CRT. It was common for 1980's CRTs to come with either green, or amber phosphor .. essentially a black/white TV with a color filter, instead of white.
@@AerialWaviator I'm familiar with CRTs and how they work, but "plasma CRT" is not something I've heard of. Maybe they meant to say phosphor instead of plasma.
Not sure if there were plasma monitors, but large-screen plasma TVs existed, pre-LCD, pre-LED. There were expensive and seen as offering brighter display vs. projection TV systems. (a tech with a short lifecycle)
Awesome Dave, we are still learning coding. The over the shoulder format is easy to be at peace with. Thank you.
This short format wasn't half bad. You even left in the typos, which is good so both you and the viewers can feel human. Is the c++ compiler installed by default on the raspberry?
Yes. First thing I did was "sudo apt install build-essential" but it was already installed.
He's using the default Raspberry Pi installation.
Love it - think you should do a mini series on programming the raspberry pi in this format
Hi Dave, Love the addition of the shorter format. Keep it coming. Thanks.
Love the short format and simple text editor!
I knew how to do this already but I just actually enjoy how you present your videos.
the format is nice, it could fit in a playlist of shorts in IOT or something like this
I like the shorter format. After more than about 10 minutes of you, my eyes glaze over and I just can't absorb your knowledge at that pace. This was much better.
This is my favorite kind of content. Its about time for the Christmas lights so the ESP will be making another appearance.
This is good I also like the longer format and your style of presentation. Your new uploads are a welcome sight in my feed.
I really would like to see more programing (retro/retro-style) videos
Thanks Dave!
Oh man! The last line of C++ I wrote would have been in 1999! Thanks for re-introducing me to this wonderful programming language!
Wow, that looked an easy setup.
A few years ago | gave up on C++ on the Pi due almost entirely to the complexities and vague nature of the tool-chain.
Great video that should hook others in where I gave up - albeit after giving it a GOOD CRACK.
github page has links to other programming languages that can use wiringpi, one of those might interest you more ! see link under video
Last night i coded a telegraphy beeper with a single LED blinking in sequences and beeping sounds. I used a gpio library and i imported 2 .wav files for a dot been and a line beep. Cool stuff. I made it for my dad in Python on a Pi, he is an old telegraphist so i did it for fun to see his reaction and i was curious to see can he recognize morse code when its really fast. He still got it 😁
I love this, especially including the typos mistakes
Love your channel. Good to see even wizards make typos.
I felt like a genius for noticing it right away. I didn't understand most of the rest of it, but we won't worry about that little fact.
Nice video. I wouldn’t worry about the resistor with a blue LED. Most of them have a forward voltage of 3.2 to 3.4 V. Sometimes you can’t even get them to light at 3.3 V.
But switch to red, and it can get a bit toasty since they normally need 1.6 - 1.8 V. So a bit of excess voltage needs to be dropped somewhere. And a bit sad to have the processor output pin have to sag down.
So this is great. However, for us people new to a Pi we need to know: 1. What (O/S) image did you flash to the SD card to even be able to boot / get a prompt. 2. What library's / updates did you download / install (and how to do that). 3. Explain the G++ compile line parameters. 4. Actual hardware pin # vs code pin #, if different. Thanks!
Runnin' " Fast & Loose " ; livin' dangerously ; my hero !
This is fun and interesting. I want to see more of these Raspberry Pi small projects, they are very cool. Maybe next time, you could find a use case for these blinking LED lights or something along those lines. For example like a motion detection software, or trigger it based on events that happens in the computer on Windows, for example when receiving mail or when there's a alert on the screen. That could be fun and interesting.
but only interesting for windows users ... and it does not use external hardware which is the point of wiringpi, would be very complex.
Nice, great to see this for my raspi projects.
Thanks for the video. Great to see real world work.
I think this is were it clicked for me. You have no idea how much that means to me. Thanks!
Very cool! Keep these coming please!
feels like the “level” after Hello World, challenging but not overwhelming.. just complex enough to fuel daydreams, thank you, I needed this.
Just for historical context, you could do this in Basic on a BBC Microcomputer back in 1981 using only a couple of lines of code. The first line would set the user port to output mode, the second would set which bits output a voltage so that attached LEDs would light up as desired. Now the PI is massively more capable machine, but few modern machines can embarrass the model B in terms of flexibility.
Nice quick video. But it always amuses me how these days we use a powerful quad-core processor and a high-level object-orientated capable compiled language, to blink an LED. In the old days we used a 555 timer. I guess our good-ole 555 timer is a bit under-powered these days, when it comes to the complex task of blinking an LED. 🤓
5 minutes is great! So good to see braces used correctly, instead of opening at the end of a line. And the clicky keyboard, reminds me of my 3270 days 🙂
No way man.. end of line or die! 😅
Edit: The following indent keeps it readable and the lack of the extra carriage return is compact…imho
Hooray...another wiringPi user !! I use it in all of my RasPi projects.
Heh, Dave, can you share your terminal settings -- looks retro-cool .
Thanks
I need one of these tied into MS Teams. I hate that I get bombarded with notifications every time a single word or sentence is muttered by someone. 1 notification a minute would be a life saver.
Lotsa fun, easy to follow, practical- thanks!
Great little LED video, haven't seen one of those for a while 👍.
Love the custom MAC terminal interface too.
Would be really cool to get a breakdown explanation series of different wiring/electric concepts required to put this stuff together (safely). That way people have a general mental model of the physical configuration to go along with the videos you do with the programming stuff.
Thanks! I like these. Reminds me of those projects in those computer mags.
Hi Dave!
Great stuff. I just wrote a Python app that makes a LED light blink on a Raspberry Pi Pico.
Phew, I thought I was loosing my mind on not making this work in windows. If Dave starts with Linux as step one, that's likely the best route. Thankfully VS is available in Linux.
This was cool! Thanks, Dave. I'd love to see more little quick fire things like this one. Glad to see constexpr being used instead of ugly, old-skool preprocessor stuff too.
Noted the groovy colour scheme on you nano... Thanks a lot for the rabbit hole See you in the next one.
Thanks for my first C++ lesson!
I really like this sort of project videos
great to see another nano guy vi and vim are hectic
Short & sweet, it's a keeper, thanks!
PS: I LOVE BARE METAL!!!
Love it. I'm quite familiar with python but not c++. The syntax and functions are different, so are some of the declarations, so I'm enjoying this to learn more.
No offense intended but python is weird syntactically when compared to many other langueages such as C, C++ or java.
Programming can be fun, and frustrating at times. Way back, perhaps twenty or thirty years ago I bought some introduction book for C. This book was exactly meant for beginners who had never touched C so I thought it would be a good start. My history was basic, pascal, assembler for several processor architectures, Forth, and a few more I could code a Hello World message in. So I started reading and got through the first five pages and then nothing made sense anymore. I just couldn't understand what the author was tying to say and no matter what I couldn't make head or tails of his explanations. So I bought another book from another publisher and thought I'd give it a go again. Same thing at exactly the same part. Now I got frustrated and decided there had to be something wrong with me as I just couldn't understand WTF they were talking about. Finally I looked at the author and the name sounded familiar, so I looked at the first book and wouldn't you know, it was the same author writing another book about programming C and sold through another publisher.
I got so pissed I gave up on C altogether and now I haven't coded anything more advanced than very simple batch files in the last 15 years.
@@toby9999 Yeah but that's what I know. Same could be said for chopsticks vs forks. I also use a lot of R for statistics, that's another weird beast.
Hello, Dave! After watching this the other day, I was inspired to finally start learning how to program c++ for the 2 arduino boards I have purchased, past the blinking light. What would you suggest as far as books or tutorials to learn to code as a complete “n00b” to coding? I prefer books, but I also prefer to listen to people who know what they are doing (you… OBVIOUSLY!😂)
If you so happen to read this, thank you!
Hi Dave and thanks for this! Also SSH from VS Code to Raspberry Pi would be just great to see too.
Nice little project Dave. Good to know the pro's don't get a clean compile on the first try either. 🙂
We all make typos! Even the best of us. Thanks for keeping it real.
Dave, my color scheme in my terminal is almost exactly like yours. All shaded to monochrome amber, I miss those old Dec terminals.
Great video Dave !
good way to learn programming with positive feedback
Thanks, Dave. Just one thing. You don't have to "touch" the file before you edit it with "nano" - just "nano blink.cpp" and you'll be fine.
Thank you Dave for this video
Thanks, Dave. You are straight to the point, and fun. 🙂
Thank you Dave! Just sent this to my son.
Really liked this format.
Love this more of these, especially with Raspberry Pi’s
I love these down and dirty instruction videos. All steak and no sizzle. Well, just your actual sizzle. But nothing extra.
Loved this and all you do. Kind of fun to even get typos 😂
I can see a simple fade in/out using a couple of for loops in that loop that sets the duty cycle, but you would probably want to make sure that the chrono library supports microseconds as well as milliseconds for best effect, and probably add a 'duty cycle' function that takes the value of the for loop and then operates the LED for that duty cycle for one millisecond and either returns void, or 0. If chrono doesn't support microsecond timing, I'm pretty sure that something does. (And there should be enough headroom in there to let the processor on even a PiZero continue to handle everything else.
Just have it calculate something stupid the compiler can't elide away.
@@mgancarzjr Unless it's run through an optimizing compiler. Some of which will simply replace any calculation with a variable assignment to the calculated result. But if you can prevent that from happening... 🙂
Man... that amber monochrome screen knocked me right back into my childhood.
That was fun. Of course all your content is interesting.
This is great! More please!
Loved this,
Wow, this reminds me of using a BBS with Zmodem on my TRS80 CoCo.
I like Dave's curly brace style. I don't know why lot of people use the K&R style which looks very unbalance and ugly. Some said, it saved lines, I don't know what for.
Excellent demo. Thanks.