Arduino with MDB coffee controller

Sure. Write out the logic of the program you need and show the example you currently have.

Paul