I made an Arduino library! #notATutorial

preview_player
Показать описание
Seriously, it was a lot of fun creating my own library and really makes me appreciate the phenomenal efforts other go to. My library had a fairly achievable aim, to trigger a function at a set interval or after a set time #notATutorial

It turns out that 'Likes' and 'Shares' actually help the channel so, if you want to, please click the thumbs up or share the video.

If you want to get in contact Twitter is probably the best way @mrdavidjwatts

Рекомендации по теме
Комментарии
Автор

As an especially crap programmer myself, it is refreshing to hear from someone more experienced saying things like "I don't know what that function does" about their own code.

I may have to find a use for this library, simply for the function names.

pileofstuff
Автор

I am just getting started with Arduino and i tell ya I am horrible at the programming side. It's a powerful tool for sure and it's nice to have guys that are willing to share there experience. Thanks 👍

GeorgeJFW
Автор

David, guys like you and Brian amaze me with your programming skills. Keep up the great videos. I learn a lot from them.

learnelectronics
Автор

Creating a basic library is awesome, well done David!!

ChunkySteveo
Автор

Neat little library! Like a really tiny version of Ticker.

"Full featured" libraries are all well and good but writing your own minimalist ones like this is really useful when program space is at a premium. Some of the big libraries take up nearly all of an ATTiny45.

gavinsmalley
Автор

Hi David, nice video and congrats on your first Arduino lib. It's quite funny to see how you name things and come up with terminology. In my TM16xx library I've also used object references. They were handy for making one display class be usable for multiple slightly different driver classes for the various TM16xx chips. You may also want to add a keywords file and a library properties file...

MaxintRD
Автор

Oh Davit - our hearts run synchronous. I wrote a library for the first time, too - finished it a week ago :)

marcus_w
Автор

I got lucky in successfully writing a library on my second attempt. They seem to be redundant. Why not just copy/paste and make efficient code?

bob-nykn
Автор

good on ya for experimenting and learning :D

Gaark
Автор

Dirk Herrendoerfer sent me here. Love his channel, Looking forward to good stuff here. Nice video

unlost
Автор

@David Watts If I am not mistaken, calling (from loop()) has the same result as simply just calling _blinkLED2.restart()_ (still from loop()).. I think you do not understand it because it does not make any sense at all and/or you did not think of a purpose before having it ;). I might have missed something, but I have really no idea what it could be good for.

LeftHandedChisel
Автор

Given that it's a library, shouldn't that be void Ook(); ?

AndyCallaway
visit shbcf.ru