Installing Libraries in MPIDE

As you all probably already know, MPIDE is a programming environment that I, and many other people, use to program Digilent’s chipKIT line of microcontrollers. Well, along with the pre-loaded libraries and examples that you can find when you download MPIDE, you can also upload your own libraries.

Read More

Debouncing Circuits

Pushbuttons are an inherent source of problems inside of sensitive circuits. Ideally, we like to think that when a button is pressed it is either “pressed” or “not pressed” without any sort of funny business. Unfortunately, as pushbuttons are a mechanical component, a lack of funny business simply isn’t going to be the case.

Read More

Libraries

This week happens to be National Library week, and although Digilent is not a library, we certainly use them! I’m not referring to public libraries, though (although I am personally a fan of them); rather, I’m talking about the C++ libraries that are widely used with our microcontrollers. Although C++ libraries are not quite the same as an IP for FPGAs, they serve a similar purpose. These libraries include a set of predefined functions that perform a specific task, such as sending and receiving a set of data over SPI, that the user can use without having to define what they do.

Read More

Recapping the Week: March 15-21

After a fun time at ECEDHA, we’ve been enjoying a quieter week at Digilent. It’s spring break in the college town of Pullman, which means a good deal of peace. We also celebrated St. Patrick’s Day in the most ecologically responsible way we could. Check out what we’ve been up to now!

Read More

Periodically Called Functions Made Easy With the Timers Library

Hey, everyone! Are you getting your week started right by using our awesome MPIDE for your programming needs? Are you just getting started with MPIDE? One of the first major functions used when starting out in MPIDE is the delay() function, as it makes it easy to see an LED blink on and off. However, once things get more complicated and multiple operations become necessary (e.g., configuring multiple digits on a 7-segment to display well as processing the data to display). The Timers library provides a way to easily define functions that should be called periodically. For example, function foo() should be called every 10 milliseconds.

Read More