Omega2 Pro Documentation
I have a few questions about the Omega2 Pro, and I can't find anything in the documentation (which is quite frustrating).
a) What is the purpose of the small green (?) LED next to the battery connector?
b) Which PWM is the one that controls the large multi-color LED on the board? I know it can be accessed via omega2-ctrl and /dev/ledchain2, but isn't it also accessible via a PWM?
c) How does one program the "programmable button"?
a) I have no idea but it has a nice colour.
b) Take a look at these articles they explain how to use PWM
c) Take a look at /etc/rc.button you will see some scripts that demonstrate how you use the button.
From the TP4056 1A Standalone Linear Li-Ion Battery Charger IC datasheet
indicator light state
(LED at TP4056's pin7)
battery charging: LED bright
no battery: LED coruscate
/CHRG (pin7): Open Drain Charge Status Output
When the battery is being charged, the /CHRG pin is pulled low by an internal switch, otherwise /CHRG pin is high impedance state.
Attach functions to a push button
Native button handling in procd is handled by scripts in /etc/rc.button/* .
Unfortunately I don't have a genuine Onion Omega2 Pro - please correct me if I'm wrong.
Thanks for your quick replies.
I'm still trying to get familiar with this platform and I appreciate your responses; they've both very helpful.