External LED Light tied to CPU/OS

A place to talk about all the Operating Systems, Software & Hardware
Post Reply
User avatar
VioletGames
Posts: 13
Joined: Thu Jan 24, 2019 5:41 pm
Location: Edmonton
Contact:

Thu Apr 04, 2019 5:03 pm

Hi, I've been tinkering around with the LattePanda Alpha and I'm wondering if there is a way to get an external LED working over GPIO that activates when either the OS is loaded, or when power is running to the CPU.

I've got the LED working using a blink scheme in Arduino, but the problem is that the light turns on as soon as the board is plugged in. I would prefer to have the light activated when power is going to the CPU.

What would be the best way to get this working. Essentially, I want it to run just like the POWER LED (not d13) on the board.

User avatar
kasek
Posts: 25
Joined: Sat Dec 14, 2019 7:48 pm

Thu Jan 09, 2020 9:14 am

Did you ever figure this out

User avatar
ccs_hello
Posts: 561
Joined: Sat Oct 13, 2018 9:16 pm

Thu Jan 09, 2020 1:52 pm

re: indication OS is booted

This is pure system generated trigger. Write your own service (to be executed as part of start up scripts) to generate an event to trigger action(s).

re: CPU is power ON/OFF
See S5 state thread:
https://www.lattepanda.com/topic-f23t18595.html

Post Reply