Multiple Application Trapezoidal Rule in MATLAB

I recently had to implement multi-application trapezoidal rule for some work I was doing. I decided to implement the algorithm¬†in MATLAB, and figured I’d post a tutorial for it, since I know many people struggle with implementing algorithms in code. This implementation takes advantage of MATLAB’s built in functions, and as such, requires no loop. […]

Software Setup for ARM LaunchPad Tutorial

I’ve been interested in trying out ARM microcontrollers for a long time – especially after dreaming up some projects that require building a USB device, and learning that I won’t touch them in university until my third year. Anyway, here’s an overview of how I got my TI ARM LaunchPad board up and running.   […]

TI ARM LaunchPad GPIO Unlock Tutorial

TI locks some GPIO pins because they’re required for programming interfaces like JTAG. SW2 on the LaunchPad is connected to PF0 (page 334), which is one of these locked up pins. We can’t use it as an input without unlocking it first. Here’s the code from my GPIO Input tutorial, but modified to use SW2. […]

TI ARM LaunchPad GPIO Input Tutorial

The TI Tiva Launchpad boards are an excellent way to get started working with ARM microcontrollers. With the Tivaware software suite, they’re not too much harder than an Arduino to program, either. I’ve found the tutorials from TI and elsewhere online to be very helpful. Unfortunately, the TI tutorials go over GPIO outputs, which are […]