Jump to content
Sign in to follow this  
Jsync

How to get Police LED

Recommended Posts

Hi how do i get the police led sequence from the update flashes I want to implement this sequence into my payload, whats the code I need to write to get the sequence and how do I change the colours and the timing. Changing the colours and timing is just changing values but I don,t know how to recreate the police lighting.

Thanks 

Share this post


Link to post
Share on other sites

you cannot have multiple flashing lights as some light combos make other colors.  If you really wanted to you would have to loop the LED command.  At least that is how I interpreted it from what Seb explained.

Share this post


Link to post
Share on other sites

So what would the command be to have it be solid blue for a few milliseconds and then solid red for a few 

Share this post


Link to post
Share on other sites
5 hours ago, Jsync said:

So what would the command be to have it be solid blue for a few milliseconds and then solid red for a few 

Rather than tell you I suggest this. Why not try it? You can run the LED command from SSH terminal and see results immediately.

Edited by Just_a_User

Share this post


Link to post
Share on other sites
5 minutes ago, Just_a_User said:

Rather than tell you, why not try it? You can run the LED command from SSH terminal and see results immediately.

Really didn't know that I thought led only worked in a script thanks 

Share this post


Link to post
Share on other sites

Should be a simple "while" bash script. Depending on the function depends how you would set it up..

Share this post


Link to post
Share on other sites
1 hour ago, Sebkinne said:

This works in bash:

 

while true
do
    LED R
    sleep 0.2
    LED B
    sleep 0.2
done

Is it worth saying that if this exact color pattern starts showing up in payloads it could get confusing as to whats happening? just thinking about the work done so far in standardizing the LED patterns. Obviously other colors and patterns are fair game, right?

  • Like 1

Share this post


Link to post
Share on other sites
9 hours ago, Just_a_User said:

Is it worth saying that if this exact color pattern starts showing up in payloads it could get confusing as to whats happening? just thinking about the work done so far in standardizing the LED patterns. Obviously other colors and patterns are fair game, right?

Yup, we'll not accept payloads with this pattern. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...