Help with coding change

Hi everybody, im Mat and im extremely new to Arduino, coding ect.

I have only got into it from watching a YouTube video for a rear light i want to build for my truck.

I have made a setup using a nano, i managed to code it and got everything working.

I want to change the operation of the lights slightly but dont know where to start.

Anyone fancy giving me a hand.

You can start by reviewing and following the posting rules.


Show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.


In the Arduino IDE, use Ctrl T or CMD T to format your code then copy the complete sketch.

Use the </> icon from the ‘reply menu’ to attach the copied sketch.

Your post was MOVED to its current location as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.

It will help you get the best out of the forum in the future.

A good start would be considerably more detail of exactly what changes you want to make.

That plus posting your existing code and schematic would at least give us something to work with.

Steve

I dont have the code info or any of the components as i used a video from YouTube.

The light works great with the coding. I would just like to keep the centre leds as side and brake when reverse is turned on.

Just like when the indicators are flashing.

I changed the total amount of LED'S and how many i want to flash with the indicators. Just not sure what part of the code needs to be changed

Is the code link

ZIP files can be dangerous.


Please read the forum rules.


Show us a good schematic of your proposed circuit.

Show us a good image of your actual wiring.

And post the code you must have downloaded to the Arduino w/o realizing that you were doing.

a7

Sure. Find the lights in your code and then change them.

The Arduino source code is the contents of that .ino file that you have downloaded. Post it here and be sure to use code tags.

What is the current behavior and in what way would you like to change it?

I will have to get my laptop from my workshop and try to upload the info.

I just want the reverse light to not be the complete length of LED'S, i want it to only be as wide as the indicators,

This should give me side and brake lights no matter what other lights are turned on

So instead of this:


You want this?

Yes thats basically what i want.

I have looked at the sketch and most of it makes sense just cant figure what needs to be altered.

I will get my laptop from my unit then we can go from there

If you want to modify code found on the internet, you will need to analyze it and unfortunately this time there aren't many comments left by the author so you need at least a good understanding of Arduino to make sense of it. It's not very difficult, but we all have to start somewhere.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.