Design and Rapid Prototyping of Embedded Control Systems