You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var ev3dev = require("ev3dev-lang");
if(!ev3dev.Ev3Leds.isConnected) {
console.error("This sample can only run on the EV3 brick. Other platforms are not supported by this script.");
process.exit(1);
}
ev3dev.Ev3Leds.redLeft.flash(1,1);
Error reported:
There was an error while writing to the property file "/sys/class/leds/ev3:left:red:ev3dev/delay_on".
Inner error:
Error: EACCES, permission denied '/sys/class/leds/ev3:left:red:ev3dev/delay_on'
The I check /sys/class/leds/ev3:left:red:ev3dev for delay_on :
robot@ev3dev:~/app$ cd /sys/class/leds/ev3:left:red:ev3dev
robot@ev3dev:/sys/class/leds/ev3:left:red:ev3dev$ ls
brightness device max_brightness power subsystem trigger uevent
There is no delay_on file.
What should I do?
The text was updated successfully, but these errors were encountered:
I think there are two problems here. First, there is a known issue with the LED drivers where the delay_* properties are only created once trigger is set, and there is a small delay between those two events occurring (ev3dev/ev3dev#225). Second, I think the ordering is wrong here:
Hi,
I install ev3dev on my LEGO EV3.
My code:
Error reported:
The I check /sys/class/leds/ev3:left:red:ev3dev for delay_on :
There is no delay_on file.
What should I do?
The text was updated successfully, but these errors were encountered: