Loading...
Pages: [1]   Go Down
Author Topic: Analog Write with 12 LEDs on an Arduino Mega  (Read 117 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)
Online Online
Edison Member
*
Karma: 48
Posts: 1427
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

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 249
Posts: 16554
Available for Design & Build services
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

Central MN, USA
Offline Offline
Faraday Member
**
Karma: 35
Posts: 5938
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
Faraday Member
**
Karma: 35
Posts: 5938
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
Print
 
Jump to: