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.
Writing Arduino Libraries -- anyone? Free eBook.
- NormanDunbar
- Forum Moderator
- Posts: 2278
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Writing Arduino Libraries -- anyone? Free eBook.
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.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
-
- Font of All Knowledge
- Posts: 3974
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Writing Arduino Libraries -- anyone? Free eBook.
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.
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
Derek
- NormanDunbar
- Forum Moderator
- Posts: 2278
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: Writing Arduino Libraries -- anyone? Free eBook.
Thanks Derek, and by the way, my C++ knowledge is sadly lacking too. I know enough to be dangerous.Derek_Stewart wrote:Quite a nice read but I do not know much about C++
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.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.