mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
Added some LED utility functions (#802)
This commit is contained in:
parent
5866c187ef
commit
3d057cfb91
4 changed files with 21 additions and 9 deletions
|
@ -89,6 +89,22 @@ void LEDsoff()
|
|||
LED_D_OFF();
|
||||
}
|
||||
|
||||
void LEDson()
|
||||
{
|
||||
LED_A_ON();
|
||||
LED_B_ON();
|
||||
LED_C_ON();
|
||||
LED_D_ON();
|
||||
}
|
||||
|
||||
void LEDsinvert()
|
||||
{
|
||||
LED_A_INV();
|
||||
LED_B_INV();
|
||||
LED_C_INV();
|
||||
LED_D_INV();
|
||||
}
|
||||
|
||||
// LEDs: R(C) O(A) G(B) -- R(D) [1, 2, 4 and 8]
|
||||
void LED(int led, int ms)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue