We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6418fdb commit 635ec82Copy full SHA for 635ec82
java/libraries/io/src/processing/io/LED.java
@@ -141,7 +141,7 @@ public static String[] list() {
141
* Sets the brightness
142
* @param bright 0.0 (off) to 1.0 (maximum)
143
*/
144
- public void set(float bright) {
+ public void setBrightness(float bright) {
145
String fn = "/sys/class/leds/" + dev + "/brightness";
146
if (bright < 0.0 || 1.0 < bright) {
147
System.err.println("Brightness must be between 0.0 and 1.0.");
0 commit comments