using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.SPOT; using CPF; namespace UnitTests { [TestClass] public class UnitTest_MotherBoard_USB { [TestMethod] public void TestJustWaitToPlugItIn() { Debug.Print("Unit Test JustWaitToPlugItIn"); MotherBoard mb = MotherBoard.Instance; mb.Enable5V(); USBStorage usb = USBStorage.Instance; Debug.Print("Go ahead and plug a usb drive into either port."); usb.evt.WaitOne(); } } }