Pages: [1]   Go Down
Author Topic: Analog Write with 12 LEDs on an Arduino Mega  (Read 416 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

East Anglia (UK)
Offline Offline
Faraday Member
**
Karma: 114
Posts: 4259
May all of your blinks be without delay()
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What are you planning on putting in them ?
Logged

Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27099
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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.

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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/
Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you all i will have another go at it
Logged

Pages: [1]   Go Up
Jump to: