Rapid prototyping of a programmable controller for digital microfluidic systems