Writing Arduino Libraries -- anyone? Free eBook.

Tell us about your other hobbies & none QL related items here :)
Post Reply
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Writing Arduino Libraries -- anyone? Free eBook.

Post by NormanDunbar »

This is so far off topic, it goes right through and out the other side! ;)

For something else I'm doing, I wrote a quick and dirty operating system (QDOS), so sorry, eBook, on writing Arduino libraries, starting off simple by writing it in the usual Arduino Language suitable for use with the IDE as well as projects using PlatformIO (with the Arduino Framework).

Then I convert it from Arduino speak to AVR C++ speak, but it can still be used in the Arduino IDE and, again, in PlatformIO with the Arduino Framework.

Finally, I convert the Arduino structure into that which can be used natively by PlatformIO without the Arduino framework.

I'm sure there are some Arduino-ites on here, hidden, somewhere, so help yourselves, it's at https://github.com/NormanDunbar/Writing ... ses/latest.

All the code is on GitHub, links are in the document.


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Writing Arduino Libraries -- anyone? Free eBook.

Post by Derek_Stewart »

Hi Norm

Quite a nice read but I do not know much about C++

But as a friend once said, "software, just a bit of typing..."

As we know its more than that.


Regards,

Derek
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Writing Arduino Libraries -- anyone? Free eBook.

Post by NormanDunbar »

Derek_Stewart wrote:Quite a nice read but I do not know much about C++
Thanks Derek, and by the way, my C++ knowledge is sadly lacking too. I know enough to be dangerous. :D

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Post Reply