public RoombaController() { this.serialPort = new SerialPortController(SERIAL_PORT_NAME, SERIAL_PORT_BAUD_RATE); this.cmdExecutor = new RoombaCommandExecutor(this.serialPort); // connected to serial port 5 DD (Device Detect), which is used to wake up Roomba this.wakeupSignalPort = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.Di47, true); }
public RoombaCommandExecutor(SerialPortController serialPortController) { this.serialPortController = serialPortController; }