
com.ociweb.iot.grove.gps.GPSTwig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foglight Show documentation
Show all versions of foglight Show documentation
FogLight is a lightweight runtime that enables makers of all ages and skill levels to create highly
performant apps for embedded devices like Raspberry Pi's.
The newest version!
package com.ociweb.iot.grove.gps;
import com.ociweb.iot.hardware.I2CConnection;
import com.ociweb.iot.hardware.SerialIODevice;
import com.ociweb.iot.maker.FogCommandChannel;
import com.ociweb.iot.maker.IODeviceTransducer;
public enum GPSTwig implements SerialIODevice{
GPS (){
@Override
public int defaultPullRateMS(){
return 1000;
}
@Override
public boolean isInput(){
return true;
}
@Override
public boolean isOutput(){
return true;
}
@SuppressWarnings("unchecked")
@Override
public GPS_Transducer newTransducer(FogCommandChannel... ch) {
return new GPS_Transducer(ch[0]);
}
};
@Override
public int defaultPullRateMS() {
// TODO Auto-generated method stub
return 0;
}
@Override
public int pullResponseMinWaitNS() {
// TODO Auto-generated method stub
return 0;
}
@Override
public boolean isInput() {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean isOutput() {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean isPWM() {
// TODO Auto-generated method stub
return false;
}
@Override
public int range() {
// TODO Auto-generated method stub
return 0;
}
@Override
public I2CConnection getI2CConnection() {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean isValid(byte[] backing, int position, int length, int mask) {
// TODO Auto-generated method stub
return false;
}
@Override
public int pinsUsed() {
// TODO Auto-generated method stub
return 0;
}
@Override
public F newTransducer(FogCommandChannel... ch) {
// TODO Auto-generated method stub
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy