Go Down

Topic: Analog Write with 12 LEDs on an Arduino Mega (Read 523 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.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy