Tuesday, 17 June 2014

Microcontrollers and Random Stuff

It's really been ages since I wrote anything significant on my blog. So I think it's time that I breathed some new life into it. I couldn't find much time to write anything during the semester but I think I'll put in some effort to keep this blog updated at least during the holidays.

I've been working with microcontrollers for over a year now and I've become reasonably familiar with  them. One thing I've discovered after working with them for so long is that it's really really annoying to get it to work with libraries that other people wrote. It's not that they don't work but it's not easy to figure out exactly what's going on. And sometimes, the function names can be a bit weird. This is just my personal opinion though. Maybe others have had different experiences with libraries.

Anyway, I was recently working on a little project in which I had to display text on a 20x4 LCD module and I was finding it difficult to get libraries to work exactly the way I wanted them to. So I decided to go ahead and write my own library for it. And yes, I realize that what I'm doing is probably best described by this:

Source: http://xkcd.com/927/

But it's a good learning experience and if this library helps someone (who thinks like me) else out then that's a good thing. The library is just a single file and all you need to do is include it in your main source file to use its functions.

So if anyone's interested they can go here to download the library.

And finally, here's a short video of the library in action.

Post a Comment