BowlerKernel
PowerCommand.java
Go to the documentation of this file.
1 package com.neuronrobotics.sdk.commands.neuronrobotics.dyio;
2 
3 import com.neuronrobotics.sdk.common.BowlerAbstractCommand;
4 import com.neuronrobotics.sdk.common.BowlerMethod;
5 
6 // TODO: Auto-generated Javadoc
10 public class PowerCommand extends BowlerAbstractCommand {
11 
15  public PowerCommand() {
16  setOpCode("_pwr");
18  }
19 
25  public PowerCommand(boolean disableBrownOutDetect) {
26  setOpCode("_pwr");
28  getCallingDataStorage().add(disableBrownOutDetect?1:0);
29  }
30 }
synchronized boolean add(byte data)
Definition: ByteList.java:149