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

com.pi4j.plugin.raspberrypi.RaspberryPi Maven / Gradle / Ivy

There is a newer version: 2.6.1
Show newest version
package com.pi4j.plugin.raspberrypi;

/*-
 * #%L
 * **********************************************************************
 * ORGANIZATION  :  Pi4J
 * PROJECT       :  Pi4J :: PLUGIN   :: RaspberryPi Platform & Providers
 * FILENAME      :  RaspberryPi.java
 *
 * This file is part of the Pi4J project. More information about
 * this project can be found here:  https://pi4j.com/
 * **********************************************************************
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 *
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */

/**
 * 

RaspberryPi class.

* * @author Robert Savage (http://www.savagehomeautomation.com) * @version $Id: $Id */ public class RaspberryPi { /** Constant NAME="RaspberryPi" */ public static final String NAME = "RaspberryPi"; /** Constant ID="raspberrypi" */ public static final String ID = "raspberrypi"; // Platform name and unique ID /** Constant PLATFORM_NAME="NAME + Platform" */ public static final String PLATFORM_NAME = NAME + " Platform"; /** Constant PLATFORM_ID="ID" */ public static final String PLATFORM_ID = ID; /** Constant PLATFORM_DESCRIPTION="Pi4J Platform for the RaspberryPi serie"{trunked} */ public static final String PLATFORM_DESCRIPTION = "Pi4J Platform for the RaspberryPi series of products."; // Analog Input (GPIO) Provider name and unique ID /** Constant ANALOG_INPUT_PROVIDER_NAME="NAME + Analog Input (GPIO) Provider" */ public static final String ANALOG_INPUT_PROVIDER_NAME = NAME + " Analog Input (GPIO) Provider"; /** Constant ANALOG_INPUT_PROVIDER_ID="ID + -analog-input" */ public static final String ANALOG_INPUT_PROVIDER_ID = ID + "-analog-input"; // Analog Output (GPIO) Provider name and unique ID /** Constant ANALOG_OUTPUT_PROVIDER_NAME="NAME + Analog Output (GPIO) Provider" */ public static final String ANALOG_OUTPUT_PROVIDER_NAME = NAME + " Analog Output (GPIO) Provider"; /** Constant ANALOG_OUTPUT_PROVIDER_ID="ID + -analog-output" */ public static final String ANALOG_OUTPUT_PROVIDER_ID = ID + "-analog-output"; // Digital Input (GPIO) Provider name and unique ID /** Constant DIGITAL_INPUT_PROVIDER_NAME="NAME + Digital Input (GPIO) Provider" */ public static final String DIGITAL_INPUT_PROVIDER_NAME = NAME + " Digital Input (GPIO) Provider"; /** Constant DIGITAL_INPUT_PROVIDER_ID="ID + -digital-input" */ public static final String DIGITAL_INPUT_PROVIDER_ID = ID + "-digital-input"; // Digital Output (GPIO) Provider name and unique ID /** Constant DIGITAL_OUTPUT_PROVIDER_NAME="NAME + Digital Output (GPIO) Provider" */ public static final String DIGITAL_OUTPUT_PROVIDER_NAME = NAME + " Digital Output (GPIO) Provider"; /** Constant DIGITAL_OUTPUT_PROVIDER_ID="ID + -digital-output" */ public static final String DIGITAL_OUTPUT_PROVIDER_ID = ID + "-digital-output"; // PWM Provider name and unique ID /** Constant PWM_PROVIDER_NAME="NAME + PWM Provider" */ public static final String PWM_PROVIDER_NAME = NAME + " PWM Provider"; /** Constant PWM_PROVIDER_ID="ID + -pwm" */ public static final String PWM_PROVIDER_ID = ID + "-pwm"; // I2C Provider name and unique ID /** Constant I2C_PROVIDER_NAME="NAME + I2C Provider" */ public static final String I2C_PROVIDER_NAME = NAME + " I2C Provider"; /** Constant I2C_PROVIDER_ID="ID + -i2c" */ public static final String I2C_PROVIDER_ID = ID + "-i2c"; // SPI Provider name and unique ID /** Constant SPI_PROVIDER_NAME="NAME + SPI Provider" */ public static final String SPI_PROVIDER_NAME = NAME + " SPI Provider"; /** Constant SPI_PROVIDER_ID="ID + -spi" */ public static final String SPI_PROVIDER_ID = ID + "-spi"; // Serial Provider name and unique ID /** Constant SERIAL_PROVIDER_NAME="NAME + Serial Provider" */ public static final String SERIAL_PROVIDER_NAME = NAME + " Serial Provider"; /** Constant SERIAL_PROVIDER_ID="ID + -serial" */ public static final String SERIAL_PROVIDER_ID = ID + "-serial"; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy