public abstract class BoardInfo extends BoardPinInfo
Constructor and Description |
---|
BoardInfo(String make,
String model,
int memory,
String libraryPath) |
BoardInfo(String make,
String model,
int memory,
String libraryPath,
float adcVRef) |
Modifier and Type | Method and Description |
---|---|
MmapGpioInterface |
createMmapGpio() |
float |
getAdcVRef() |
float |
getCpuTemperature() |
Collection<Integer> |
getI2CBuses() |
String |
getLibraryPath() |
String |
getMake() |
int |
getMemory() |
String |
getModel() |
String |
getName() |
int |
getPwmChip(int pwmNum) |
abstract void |
initialisePins()
initialisePins is separate to the constructor as a lot of known BoardInfo
info instances get created on startup.
|
boolean |
sameMakeAndModel(BoardInfo boardInfo) |
String |
toString() |
addAdcPinInfo, addAdcPinInfo, addAdcPinInfo, addAdcPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addDacPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGeneralPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addGpioPinInfo, addPwmPinInfo, addPwmPinInfo, addPwmPinInfo, getAdcPins, getByAdcNumber, getByDacNumber, getByGpioNumber, getByName, getByPwmNumber, getDacPins, getGpioPins, getHeaders, getHeaderValues, mapToSysFsGpioNumber
public abstract void initialisePins()
public String getMake()
public String getModel()
public int getMemory()
public String getLibraryPath()
public float getAdcVRef()
public String getName()
public boolean sameMakeAndModel(BoardInfo boardInfo)
public int getPwmChip(int pwmNum)
public MmapGpioInterface createMmapGpio()
public float getCpuTemperature()
public Collection<Integer> getI2CBuses()
Copyright © 2016–2018 mattjlewis. All rights reserved.