static void Main(string[] args) { var characterMap = new BrailleCharacterMap(); var inputProvider = new CharacterMapInputProvider(characterMap); inputProvider.Text = "abcdefg"; var displayProvider = new ConsoleDisplayProvider(); var theDevice = new VirtualDevice(inputProvider, displayProvider); DeviceHarness harness = new DeviceHarness(theDevice); harness.Execute(); }
public static void Main() { var characterMap = new BrailleCharacterMap(); //var inputProvider = new CharacterMapInputProvider(characterMap); //inputProvider.Text = "abcdefg"; var inputProvider = new CyclicInputProvider(); var displayProvider = new MotorDisplayProvider(Motor.GetMotors()); var theDevice = new TheDevice(inputProvider, displayProvider); DeviceHarness harness = new DeviceHarness(theDevice); harness.Execute(); }