|
8 | 8 | @SuppressWarnings("nls")
|
9 | 9 | public class Defaults {
|
10 | 10 |
|
11 |
| - public static final String LIBRARIES_URL = "http://downloads.arduino.cc/libraries/library_index.json"; |
12 |
| - public static final String EXAMPLE_PACKAGE = "examples_Arduino_1_6_7.zip"; |
13 |
| - public static final String EXAMPLES_URL = "http://eclipse.baeyens.it/download/" + EXAMPLE_PACKAGE; |
14 |
| - public static final String PLATFORM_NAME = "Arduino AVR Boards"; |
15 |
| - public static final String[] INSTALLED_LIBRARIES = new String[] { "Ethernet", "Firmata", "GSM", "Keyboard", |
16 |
| - "LiquidCrystal", "Mouse", "SD", "Servo", "Stepper", "TFT", "WiFi" }; |
17 |
| - private static final String DEFAULT = "Default"; |
| 11 | + public static final String LIBRARIES_URL = "http://downloads.arduino.cc/libraries/library_index.json"; |
| 12 | + public static final String EXAMPLE_PACKAGE = "examples_Arduino_1_6_7.zip"; |
| 13 | + public static final String EXAMPLES_URL = "http://eclipse.baeyens.it/download/" + EXAMPLE_PACKAGE; |
| 14 | + public static final String PLATFORM_NAME = "Arduino AVR Boards"; |
| 15 | + public static final String[] INSTALLED_LIBRARIES = new String[] { "Ethernet", "Firmata", "GSM", "Keyboard", |
| 16 | + "LiquidCrystal", "Mouse", "SD", "Servo", "Stepper", "TFT", "WiFi", "CapacitiveSensor" }; |
| 17 | + private static final String DEFAULT = "Default"; |
18 | 18 |
|
19 |
| - /** |
20 |
| - * Arduino has the default libraries in the user home directory in subfolder |
21 |
| - * Arduino/libraries. As the home directory is platform dependent getting |
22 |
| - * the value is resolved by this method |
23 |
| - * |
24 |
| - * @return the folder where Arduino puts the libraries by default. |
25 |
| - */ |
26 |
| - public static String getPrivateLibraryPath() { |
27 |
| - IPath homPath = new Path(System.getProperty("user.home")); |
28 |
| - return homPath.append("Arduino").append(Const.LIBRARY_PATH_SUFFIX).toString(); |
29 |
| - } |
| 19 | + /** |
| 20 | + * Arduino has the default libraries in the user home directory in subfolder |
| 21 | + * Arduino/libraries. As the home directory is platform dependent getting |
| 22 | + * the value is resolved by this method |
| 23 | + * |
| 24 | + * @return the folder where Arduino puts the libraries by default. |
| 25 | + */ |
| 26 | + public static String getPrivateLibraryPath() { |
| 27 | + IPath homPath = new Path(System.getProperty("user.home")); |
| 28 | + return homPath.append("Arduino").append(Const.LIBRARY_PATH_SUFFIX).toString(); |
| 29 | + } |
30 | 30 |
|
31 |
| - public static String getPrivateHardwarePath() { |
32 |
| - IPath homPath = new Path(System.getProperty("user.home")); |
33 |
| - return homPath.append("Arduino").append(Const.ARDUINO_HARDWARE_FOLDER_NAME).toString(); |
34 |
| - } |
| 31 | + public static String getPrivateHardwarePath() { |
| 32 | + IPath homPath = new Path(System.getProperty("user.home")); |
| 33 | + return homPath.append("Arduino").append(Const.ARDUINO_HARDWARE_FOLDER_NAME).toString(); |
| 34 | + } |
35 | 35 |
|
36 |
| - public static String getDefaultUploadProtocol() { |
37 |
| - return DEFAULT; |
38 |
| - } |
| 36 | + public static String getDefaultUploadProtocol() { |
| 37 | + return DEFAULT; |
| 38 | + } |
39 | 39 | }
|
0 commit comments