Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumProgramming Questions & HelpPrograms › Creating a file with all methods

Page Index Toggle Pages: 1
Creating a file with all methods (Read 2531 times)
03/31/10 at 23:23:47

Science_Geek   Offline
YaBB Newbies

Posts: 1
*
 
I am new to Wiring and I was wondering if it was possible to create another file to store the methods that I'm going to be using. I have 2 sensors that each have about 5 long methods in them and it makes my code very long on just one page. If it is possible how do i do it with wiring? Any help is greatly appreciated.
 
IP Logged
 
Reply #1 - 04/01/10 at 01:41:23

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
Yes, either you could use the editor tabs with names, or put everything you need on an external file and use the Sketch -> Add File Menu, it is possible to add any .c or .cpp files to your sketch.
 
IP Logged
 
Page Index Toggle Pages: 1