03-Learn Arduino Tutorial Project - LCD and OLED Graphics - Lines and Shapes - SPI & I2C

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 89

  • @grizzZlyBear
    @grizzZlyBear 4 года назад +35

    Came here from ThioJoe 😁
    Thanks for the task manager. Being a computer technician for about 15 years, it's been amazing using your program!

  • @mrdiamond64
    @mrdiamond64 4 года назад +31

    Thanks for adding task manager to windows!

  • @reidlab
    @reidlab 4 года назад +2

    as someone who likes coding apps, thank you for making task manager using ctrl+shift+esc it makes coding easy when it takes a while to close windows, when vs code or vsb or roblox studio lags out, if it wernt for task manager i'd get so many more blue screens than i already get! thank you for making apps we all know and love.

  • @OdieTheGreat
    @OdieTheGreat 4 года назад +3

    this man is a legend for inventing one of the most useful things ever

  • @danielmanta8083
    @danielmanta8083 4 года назад +12

    Hey Mr. Dave! I'm finishing my Software Engineering degree and to be honest, coding has been rarely fun and mostly tolerable for me so far.
    I found a reddit thread where you shared some nice info about Task Manager and someone linked your RUclips channel there, which brought me here.
    Watching projects like this one have been so much fun to follow and learn, never been as invested in this type of content before.
    You have been slowly and steadily inspiring me more and more.
    Keep up the awesome videos and I wish you and all your loved ones all the best!

    • @DavesGarage
      @DavesGarage  4 года назад +6

      Just keep following the path of "fun" stuff with programming, totally independent from your work stuff, and I bet eventually the fun stuff pays! I absolutely love coding but there are a lot of coding places and jobs I couldn't stand. You'll find your fit eventually! If you can get into a Google or Microsoft or Apple they are so huge that it's a mall of software jobs once you're in as well... so you can move around to where you fit the best. Good luck!

  • @PhilipHousel
    @PhilipHousel 9 месяцев назад

    Dave, you might be amused by my story. I'm generally the "smart" guy at work, solving problems, etc. Just getting the IDE force me to slow down and think. This middle age man is humbled by your coding prowess. Thank you for the challenge.

  • @rodneysmith1750
    @rodneysmith1750 3 года назад +2

    I am particularly happy to see how you format the curly braces, it really sticks in my craw to see the open at the end of the previous line, after all, that mostly blank line is not really very expensive, and soooo much more readable!

  • @jonnyphenomenon
    @jonnyphenomenon Год назад

    Thank you Dave, for addressing that infernal BEEP!

  • @RyanDurbin10
    @RyanDurbin10 3 года назад +1

    I'm so happy you fixed the beeping. It was driving me mad trying to figure out if I had a bad smoke detector somewhere hahaha

  • @doverwilliams5861
    @doverwilliams5861 4 года назад +1

    Hi Dave, Came here for the FastLED tutorial and stumbled upon your other great content. As a VS .Net developer for a number of years, thanks for turning me onto PlatformIO. Love me some intellisense. I've subscribed and liked all of the videos I've watched and tried to throw you some affiliate money when I did the OLED tutorial. Looking forward to your future videos.

    • @DavesGarage
      @DavesGarage  4 года назад +1

      Thanks! If you know of any spare hats like the one I'm wearing, I could use a replacement blue .Net hat :)

    • @doverwilliams5861
      @doverwilliams5861 4 года назад

      @@DavesGarage if I come across any, I'll let you know.

  • @rickchowsr2532
    @rickchowsr2532 3 года назад

    Dave. I don’t know what it is but all your vids that have been popping up on my feed are exactly what I have been looking for. RUclips knows lmao. Great tutorials

  • @r3dpl4x99
    @r3dpl4x99 4 года назад +4

    Thanks for making task manager great!

  • @aminur14
    @aminur14 4 года назад +4

    Hey Dave, big fan of your work at Microsoft. Thank you for creating TM and the pinball game 😁

    • @DavesGarage
      @DavesGarage  4 года назад

      Thanks for the kind comment! You are very welcome!

    • @glasser2819
      @glasser2819 4 года назад

      @@DavesGarage these days TMgr granularity has gone super chunky compared to what it was until Win7. Can we reg tweak it back to original??

  • @concena
    @concena 4 года назад +1

    Task manager is really great thanks for making it!

  • @TheCourtoh
    @TheCourtoh 3 года назад

    Great video Dave! Thanks
    This constructor worked for me for on a Heltec wifi lora 32
    U8G2_SSD1306_128X64_NONAME_F_HW_I2C g_OLED(U8G2_R2, 16, 15, 4);

  • @davidTubeXD
    @davidTubeXD 4 года назад +2

    thank you for creating TM for windows. it helps me close programs/games that freeze :D

  • @RyanDurbin10
    @RyanDurbin10 3 года назад +1

    Hey Dave. Love your vids

  • @shubhamsehgal2336
    @shubhamsehgal2336 4 года назад +1

    Thanks for creating Task Manager, Calc :)

  • @kestrelite
    @kestrelite 4 года назад

    Hey it's the windows saviour! Thanks for creating task manager and zip files and all them! :P

  • @joakimlaumann
    @joakimlaumann 2 года назад

    First: Love your channel, and nice guildes. This might be a little late, but. If one wants faster FPS, you can change the I2C speed to 80 000, with g_OLED.setBusClock(800000); before g_OLED.begin(); This way one can get 38-39 FPS.

  • @PhillipBlanton
    @PhillipBlanton 2 года назад

    FYI, the little right-pointing arrow in the blue status bar at the bottom of your IDE will build and deploy the code to the device with one click.

  • @StortWeldingCoLLC
    @StortWeldingCoLLC 4 года назад +2

    HI DAVE! THIO JOE RAVED ABOUT YOU! SORRY 4 CAPS, IN HOSPITAL AND ONLY HAVE USE OF MY LEFTT HAND, YEP IM RITE HANDED!
    YOUR OPENING VIDEO WITH THE COFFEE, WAS A BLAST, HAD ME LMAO!!! ALL I CAN SAY, IM IN THE 10 GROUP OF YOUR FANS!!!!!!!!!! GOT ALOT OF CATCHING UP TO DO!
    1 QUESTION, AND IM NOT BLOWING SMOKE! WHY NOT IN THE MILLION SUBS????? THANK YOU, JACK PS, IM ALSO A HALF A BUBBLE OUT OF PLUM WITH MY SENSE OF HUMOR!!!

    • @DavesGarage
      @DavesGarage  4 года назад +2

      Thanks for stopping by! I hope you're on the mend and typing with both hands again soon!

    • @StortWeldingCoLLC
      @StortWeldingCoLLC 4 года назад

      @@DavesGarage THANKS, WILL BE, BUT NEVER AT THE WPM, I CANT GUESS YOU CAN!!! THANKS, JACK, SUBBED AND BELL RUNG!!!

  • @ArtyomGalstyan
    @ArtyomGalstyan 2 года назад

    6:41 but the beeping sound had its charm. It made a feeling like you're in a mancave laboratory but now you're just in a mancave.

  • @bopitt6875
    @bopitt6875 3 года назад

    Dave those keyboard clicks drive me crazy. Yeah I know short trip. If it wasn’t for your smooth talking and dry humor I would be clicking the mute. Your intro was smooth as a androids bottom. Thanks for those windows jewels you coded. Just this week I impressed my boss with my tm catch and kill skills on a dead program.

  • @njr940
    @njr940 4 года назад

    Looking forward to part 3 :)

  • @DanielVegter
    @DanielVegter 4 года назад

    I found my second favourite yt channel! (Linus stays first for now)

  • @JustADudeInABasement
    @JustADudeInABasement 2 года назад +1

    Hi Dave. First want to say you are a lifesaver. We just switched to the ESP32 at work and I am learning it here. Love the vids so far. Question though... working on the reticle I am getting the error "src\main.cpp: In function 'void setup()':
    src\main.cpp:35:42: error: 'r' was not declared in this scope
    g_OLED.drawCircle(reticleX, reticleR, r);"
    I should mention I am almost a complete noob to coding...well, writing code. I can copy and paste with the best,lol. I believe I have entered everything verbatum and am not sure how to correct this. I am using everything you are...; the Heltec Wifi kit 32 and Platform IO. Everything else has worked great up to this point.

  • @renaulth2009
    @renaulth2009 4 года назад +2

    Dave, you're obviously a hardcore and accomplished programmer. What's your opinion regarding Arduino vs "bare metal" avr programming? For a long time I've only liked/used Arduino as a hardware platform, and use the bootloader with avr-gcc and avrdude to program it. Needless to say you don't have all the wonderful library support of Arduino. But I felt that with Arduino you don't really get to learn the ins and outs of micros, but I also understand that it's more aimed at makers, and rapid prototyping. What's your opinion?

    • @DavesGarage
      @DavesGarage  4 года назад +1

      I think C/ASM coding on the Arduino is bare metal enough, even with the SDK! It's a good mix I think, because you can rely on libs for a lot of stuff but if you're doing any serious work you'll still have to write a lot of code on your own. I hear you though, you don't want to just be pushing buttons on a class library! I like the balance of Arduino+FreeRTOS on the ESP32. You get the heap manager, task switcher, I/O and the basics. Kind of like programming a bare old Amiga or ST without a GUI, about that level!

  • @iamthetinkerman
    @iamthetinkerman 3 года назад

    Hi Dave, love your videos, helps me to learn every day. For a long time I've been in love with visualisation stuff, LEDs included. I was wondering how difficult it would be to implement a library for Arduino that does a similar job as Winamp's AVS? I wanted to try create dedicate hardware and software to project Audio visualisations and edit them on the fly via an App. What do you think of this idea? I think it would be cool to have a cube like projector that you can connect to via an app and edit the visuals on the fly. Thanks for taking the time to read this. I look forward to hearing a reply! 👍❤

  • @TrickysFlyingBurrito
    @TrickysFlyingBurrito 4 года назад +2

    Great pt2, is there any chance you could post a link to the code for novices like me who are still learning?

    • @DavesGarage
      @DavesGarage  4 года назад +2

      Will do! Give me a day or two, it's on my todo list to post links to code and parts right away!

    • @TrickysFlyingBurrito
      @TrickysFlyingBurrito 4 года назад +1

      @@DavesGarage cheers Dave, you're a legend!

  • @Gunbudder
    @Gunbudder 3 года назад

    1:56 LOL i haven't heard that sound effect in a while. if i remember it right, that's the Tivo sound for ffwd

  • @TheDarkPledge909
    @TheDarkPledge909 4 года назад

    So you are the absolute legend that brought me task manager... If only I could shake your hand. You are a hero :p nice vids, think I might drop a sub your way..

  • @sp1xa
    @sp1xa 4 года назад +43

    Who's here from thio joe?

    • @DavesGarage
      @DavesGarage  4 года назад +11

      What's a thio Joe?

    • @hl2mukkel
      @hl2mukkel 4 года назад +12

      @@DavesGarage Your post on reddit was turned into a video where someone explains all the things about Task manager, that channel/person is called Thio Joe. Would have loved to see you making a video about something Windows related, even though it's just nostalgia!

    • @DavesGarage
      @DavesGarage  4 года назад +7

      @@hl2mukkel Thanks! I found it, cool!

    • @StortWeldingCoLLC
      @StortWeldingCoLLC 4 года назад

      Spixa
      ME, ALL I CAN SAY IS WOW!!!!! THANKS, JACK

    • @masternobody1896
      @masternobody1896 4 года назад

      @@DavesGarage hows going ms .....tm ....boss...hows life.....can you research on win 10 task manager and give me some advice.............thanks

  • @Gunbudder
    @Gunbudder 3 года назад

    3:28 haha i pretty much drew ellipses exclusively for years, and i was saddened to find that the MS dev who wrote the ellipse function in the graphics library did not include a parameter for a rotation angle. i had to write that function myself using matrix magic. if you are gonna make us draw ellipses all the time, at least let us rotate them! if you do ever need to draw an ellipse, it will be extremely likely that your ellipse will be rotated and not at the origin.

  • @janno288
    @janno288 4 года назад +4

    Is that the guy who progammed task manager ?
    All Hail the Taskman

  • @Karreth
    @Karreth 3 года назад

    Love the contents. Though I have to say, it kinda bugs me that you keep track of elapsed time in seconds rather than milliseconds. You could do a single division in the FramesPerSecond function instead.

    • @michaeltanner4404
      @michaeltanner4404 2 года назад

      heheheh, yeah and it kinda bugs me that he defined FramesPerSecond as returning a double, then assigns the return value to an int. I mean, it works, but yeesh :)

  • @nynexman4464
    @nynexman4464 4 года назад

    Ugh that constructor thing would drive me bonkers. Reminds me of php back in the day where some search functions took the string to search first (haystack) and others took it 2nd or last. Meant always having to consult the documentation. That said it's pretty cool how quickly it lets you get graphics working.

  • @x5N__
    @x5N__ 4 года назад

    So you're the task manager guy. :)

  • @muscleaholic9517
    @muscleaholic9517 4 года назад +3

    HI DAVE

  • @mikus4242
    @mikus4242 4 года назад

    Fun stuff, thanks.

  • @roscianyt
    @roscianyt 3 года назад

    Doesn't work "U8g2lib.h:228:10: note: candidate expects 4 arguments, 3 provided" which I'm guessing is this line "g_OLED.drawHLine(reticleX - reticleR - 5, reticleY, 2 * reticleR + 10); // H line through reticle center" But not sure how to fix.

  • @unclerojelio6320
    @unclerojelio6320 4 года назад

    Very cool although I'm not 100% sure why you need the for(;;) loop inside the void loop(). Can you elaborate?

    • @MikeBramm
      @MikeBramm 3 года назад

      In the loop() function, you only want to initialize the variables once. Then only the code within the for(;;) block loops during the test.

  • @tom95076
    @tom95076 Год назад

    Thanks for all the content. looks like a Mac screen but the keyboard sound is????

    • @DavesGarage
      @DavesGarage  Год назад

      Mac with a Corsair MX blue keyboard!

  • @petkoyanakiev244
    @petkoyanakiev244 Год назад

    What softwate development metodology you used in Microsoft?

  • @magicrhubarb
    @magicrhubarb 4 года назад

    Came from thinkjoe

  • @dvohwinkel
    @dvohwinkel 4 года назад

    Will you be uploading the code?

  • @tomtouma
    @tomtouma 2 года назад

    Anyone else having the problem where the bottom half of the OLED is slightly darker than the top?

  • @RaveYoda
    @RaveYoda 4 года назад +1

    I wish every drawing api had a circle method... I've never needed an ellipse either.

    • @DavesGarage
      @DavesGarage  4 года назад +1

      Ha! I was only partly joking (I think they should all have a circle alias but I didn't really mean take out the ellipses). But yes, I've never used one!

  • @daleatkin8927
    @daleatkin8927 3 года назад +1

    Dear coding novices - listen when he says ‘Don’t hard code it’.

  • @colonelhacker3661
    @colonelhacker3661 3 года назад

    What if you could really type that fast? I bet you would make a great secretary :D

    • @DavesGarage
      @DavesGarage  3 года назад

      I used to be a PC tech in my youth and serviced some computers back in the days of typing pools. Those ladies (and yes, they universally were when I was there) were incredible.

  • @unicodefox
    @unicodefox 4 года назад

    > Worked at MSFT for multiple years, and made one of the most used Windows software
    > Uses macOS.

  • @simoncantwell1031
    @simoncantwell1031 Год назад

    I miss the beeping...I think.

  • @RichardiOS275
    @RichardiOS275 4 года назад +1

    Let's see if we can run DOOM with an arduino

    • @reidlab
      @reidlab 4 года назад

      wha- hi richardios275 i like ur fe2 videos, somehow i found you cuz i watch thio joe, came here from that video, scrolled down the comments, AND YOU ARE HERE. I AM A BIG FAN!! I WASNT EXPECTING TO SEE U HERE!!!

    • @reidlab
      @reidlab 4 года назад

      i think this is the biggest impossible thing to happen ever lol

    • @DavesGarage
      @DavesGarage  4 года назад +1

      I bet you could at 240MHz and two cores in VGA! Wolfenstein for sure...

  • @danielson101
    @danielson101 Год назад

    can you teach me how to type like you?

  • @TheRealFrankWizza
    @TheRealFrankWizza 3 года назад

    I got 27 FPS. lol

  • @zzco
    @zzco 4 года назад

    **double thumbs down** :p

  • @daspicsman
    @daspicsman 6 месяцев назад

    Could the screen be attached to a camera to get a retro tv look?