I want to combine the heartgif sketch (main one) with the LED one, or I would like to insert the led sketch into the heart sketch but cant figure out how. The led sketch was generated by
Just wan to combine the both so I can use my .96 inch OLEd sketch which is the main one and the 2 addressable rgb led's which have their own patten generated by the website.
Using a pro micro without bootloader.
I tried to combine them, but am not really good at understanding sketches for something complicated like this ;/
the setup() and loop() in your led code contain one line each.
put both programs in one file. add the lines from setup() and loop() from the LED program to the setup() and loop() of the oled program and delete the setup() and loop() from the LED program.
gcjr:
the setup() and loop() in your led code contain one line each.
put both programs in one file. add the lines from setup() and loop() from the LED program to the setup() and loop() of the oled program and delete the setup() and loop() from the LED program.
I was able to combine them, however the LED animation no longer works its just static.
I have attached my sketch.]
this is the website I used to generate the LED sketch for 8 LED and Pin 18
Please read the post at the start of any forum , entitled "How to use this Forum".
OR http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Yeaah , will have to redo a lot of my code/sketch to use Milis ? because most of the code for the animation was auto generated using a program.
cant use another Arduino, am using a Mega 2560 pro and have room for a lot of code ! need the project to be compact,
thanks for the help.
TomGeorge:
Hi,
Please read the post at the start of any forum , entitled "How to use this Forum".
OR http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Thanks.. Tom....
ohh ty I was looking for this but couldn't find it.