Software/Java/src/com/dexterind/grovepi/sensors/base/Sensor.java
<reponame>tjmarks37/EE250-Final-Project<filename>Software/Java/src/com/dexterind/grovepi/sensors/base/Sensor.java<gh_stars>0/**
 * TODO: Implement "watch" and "stream" methods, such as the Node.js library
 */
package com.dexterind.grovepi.sensors.base;

import java.io.IOException;

import com.dexterind.grovepi.*;
import com.dexterind.grovepi.utils.*;

public class Sensor {
  protected Board board;
  
  public Sensor() throws IOException, InterruptedException, Exception {
    board = Board.getInstance();
  }
  
  public byte[] readBytes() throws IOException { byte[] ret = {}; return ret; }
  public boolean write() throws IOException { return true; }
}
