com.pi4j.boardinfo.definition.PiModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pi4j-core Show documentation
Show all versions of pi4j-core Show documentation
Pi4J Java API & Runtime Library
The newest version!
package com.pi4j.boardinfo.definition;
public enum PiModel {
COMPUTE("Compute Module", "Pi on a 200-pin DDR2-memory-like module for integration in embedded devices"),
MODEL_A("Model A", "Without ethernet connector"),
MODEL_B("Model B", "With ethernet connector"),
PICO("Pico", "Microcontroller"),
ZERO("Zero", "Smaller size and reduced GPIO capabilities"),
UNKNOWN("Unknown", "");
private final String label;
private final String description;
PiModel(String label, String description) {
this.label = label;
this.description = description;
}
public String getLabel() {
return label;
}
public String getDescription() {
return description;
}
}