I wrote a lab for one of my professors. It's about compiling code from Matlab to an Arduino board. The lab is geared around a simple virtual low-pass filter. I don't think the 2.5KB of code is a better solution than a few discrete parts. But it was a fun exercise and I earned some extra credit, which is nice.