Go Down

Topic: Analog Write with 12 LEDs on an Arduino Mega (Read 451 times) previous topic - next topic

Potypeanut

i am building this project but i am stuck on how to run new tabs in the main sketch and what should i name them

UKHeliBob

What are you planning on putting in them ?
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

CrossRoads

I name them a_presetup, b_setup, c_loop, d_more_loop, e_other, etc.
and write my code as if it spanned them continuously.
file_name will appear as the first tab, I use that for program notes/goals/changes etc.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

liudr

Your post title doesn't match your question. Suggest change title. I have this post a while back hope it helps. Just if you see .pde, mentally replace it with .ino

http://liudr.wordpress.com/2011/02/16/using-tabs-in-arduino-ide/

liudr

Be sure to read the post if you plan to move some definitions to a different tab.

Potypeanut

thank you all i will have another go at it

Go Up