Package se.sics.mspsim.ui

Examples of se.sics.mspsim.ui.SerialMon


            setupGUI();

            // Add some windows for listening to serial output
            IOUnit usart = cpu.getIOUnit("USCI A1");
            if (usart instanceof USARTSource) {
                SerialMon serial = new SerialMon((USARTSource)usart, "USCI A1 Port Output");
                registry.registerComponent("serialgui", serial);
            }
        }
    }
View Full Code Here


            setupGUI();

            // Add some windows for listening to serial output
            USART usart = cpu.getIOUnit(USART.class, "USART1");
            if (usart != null) {
                SerialMon serial = new SerialMon(usart, "USART1 Port Output");
                registry.registerComponent("serialgui", serial);
            }
            if (stats != null) {
                // A HACK for some "graphs"!!!
                DataChart dataChart =  new DataChart(registry, "Duty Cycle", "Duty Cycle");
View Full Code Here

            setupGUI();

            // Add some windows for listening to serial output
            IOUnit usart = cpu.getIOUnit("USCI A0");
            if (usart instanceof USARTSource) {
                SerialMon serial = new SerialMon((USARTSource)usart, "USCI A0 Port Output");
                registry.registerComponent("serialgui", serial);
            }
        }
    }
View Full Code Here

        if (!config.getPropertyAsBoolean("nogui", true)) {
            // Add some windows for listening to serial output
            IOUnit usart = cpu.getIOUnit("USCI A1");
            if (usart instanceof USARTSource) {
              SerialMon serial = new SerialMon((USARTSource)usart, "USCI A1 Port Output");
              registry.registerComponent("serialgui", serial);
            }
        }
    }
View Full Code Here

            setupGUI();

            // Add some windows for listening to serial output
            IOUnit usart = cpu.getIOUnit("USCI A0");
            if (usart instanceof USARTSource) {
                SerialMon serial = new SerialMon((USARTSource)usart, "USCI A0 Port Output");
                registry.registerComponent("serialgui", serial);
            }
        }

View Full Code Here

      beeper.setSoundEnabled(true);

      // Add some windows for listening to serial output
      USART usart = cpu.getIOUnit(USART.class, "USART1");
      if (usart != null) {
          SerialMon serial = new SerialMon(usart, "USART1 Port Output");
          registry.registerComponent("serialgui", serial);
      }

      if (stats != null) {
        // A HACK for some "graphs"!!!
View Full Code Here

TOP

Related Classes of se.sics.mspsim.ui.SerialMon

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.