• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enable/Disable LED1 and LED2
#5
(August-23rd-2018, 09:04 AM)Armin@netPI Wrote: Hello Hannes,

just ask me which files you want to change exactly? And what is the purpose of changing the files?

For a short your should do the following:

I pulled the image "hilschernetpi/netpi-raspbian:latest" onto your netPI. Map the port 22 for SSH and enabled priviledge mode also.

Then login with user "pi" and password "raspberry" and as first command type in


Code:
echo 1 | sudo tee /sys/class/leds/user0:orange:user/brightness


You will see the LED2 going to state "on".

Regards
Armin


----------------------
Hi Armin,

i mean the change of the file "/sys/class/leds/user0:orange:user/brightness".
But now i got it. The problem was that i dont turned "priviledge mode". Thanks a lot.

BR
Hannes
  Reply


Messages In This Thread
Answer - by FrankJacob - July-3rd-2018, 02:20 PM
Answer - by Armin@netPI - July-5th-2018, 10:48 AM
RE: Answer - by hannes - August-23rd-2018, 08:43 AM
RE: Answer - by Armin@netPI - August-23rd-2018, 09:04 AM
RE: Answer - by hannes - August-23rd-2018, 09:21 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] activate LED1/2 with Node-RED + fieldbus nodes container Christian_Rau 6 88 October-21st-2019, 10:30 AM
Last Post: Armin@netPI
  Access Denied to LED1 / LED2 crthomas1234 1 104 July-12th-2018, 04:36 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)