All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pi4j.boardinfo.definition.PiModel Maven / Gradle / Ivy

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;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy