System LED
#18
The right (yellow one in this case) one is the charge led and is connected to the PMIC, the other is connected to a GPIO and you can do whatever you want with it. If you look at the schematic you will see that the resistors are set for a current of about 5mA...

   

echo 359 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio359/direction
echo 0 > /sys/class/gpio/gpio359/value

To turn the LED on for example.
Come have a chat in the Pine IRC channel >>
  Reply


Messages In This Thread
System LED - by stephen fleming - 04-01-2016, 07:15 AM
RE: System LED - by tllim - 04-01-2016, 10:51 PM
RE: System LED - by Andrew2 - 04-02-2016, 04:15 AM
RE: System LED - by stephen fleming - 04-02-2016, 12:50 PM
RE: System LED - by longsleep - 04-03-2016, 08:57 AM
RE: System LED - by Andrew2 - 04-03-2016, 09:38 AM
RE: System LED - by longsleep - 04-03-2016, 10:04 AM
RE: System LED - by stephen fleming - 04-03-2016, 11:08 AM
RE: System LED - by longsleep - 04-03-2016, 11:12 AM
RE: System LED - by stephen fleming - 04-03-2016, 11:32 AM
RE: System LED - by utdrmac - 04-25-2016, 01:32 PM
RE: System LED - by jproffer - 05-04-2016, 07:29 PM
RE: System LED - by utdrmac - 05-04-2016, 08:08 PM
RE: System LED - by martinayotte - 05-04-2016, 08:17 PM
RE: System LED - by JamesHarris - 06-03-2016, 04:36 PM
RE: System LED - by pfeerick - 06-03-2016, 09:06 PM
RE: System LED - by Miguel Campos - 07-01-2016, 07:43 AM
RE: System LED - by xalius - 07-01-2016, 10:46 AM
RE: System LED - by MarkHaysHarris777 - 07-01-2016, 11:55 AM
RE: System LED - by MokaMx_GDL_DE - 07-05-2016, 06:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)