This document describes a "Cookie Shaker" program created for an mbed microcontroller board. The program allows the user to shake the mbed board to increase the number of cookies, and press a button to buy more "Tippies" who bake cookies in intervals. It detects shaking using the accelerometer and a schmitt trigger on jerk values. Multiple threads are used for shaking detection, buying Tippies, and baking cookies at intervals, with mutex synchronization on the shared cookie count. A lower priority thread is used for drawing the LCD to avoid priority issues with the Ticker interrupt.