kwartzlab makerspace

Posts Tagged ‘multi-threading’

Jun
11
2011

Arduino-Compatible Multi-Threading Library v0.5 Released

By

It’s been a while since I’ve touched this project, but I’ve decided to re-visit the multi-threading library I wrote for the Arduino (largely because of the amount of consistent traffic those particular blog posts have generated… it’s satisfying to know that someone other than me seems to appreciate my work). Although, I’ve made some minor edits to the internals of the Thread class, the most important update has been the addition of the EventHandler class. As it’s name would suggest, it provides the framework for basic event-handling.


Read the rest of this entry »

Oct
30
2010

New and Improved Arduino Multi-Threading Library

By

So… I’ve been doing a little more work on the multi-threading library I blogged about earlier, and I decided that it would be a good idea to add some interrupt-like functionality to handle switches. Thus, the SwitchInput class was born. This class has several nice features that make working with switches easier.


Read the rest of this entry »

Sep
6
2010

Arduino Multi-Threading Library

By » 12 Comments

One of the things that I’ve always wished I could do with my Arduino is writing programs that can do multiple tasks independently of each other. Unfortunately, the Arduino doesn’t support multi-threading. Instead, I’ve written a library to provide crude multi-threading support.

Read the rest of this entry »