Wiring Forum
http://wiring.org.co/cgi-bin/yabb/YaBB.pl
Programming Questions & Help >> Programs >> Creating a file with all methods
http://wiring.org.co/cgi-bin/yabb/YaBB.pl?num=1270077827

Message started by Science_Geek on 03/31/10 at 23:23:47

Title: Creating a file with all methods
Post by Science_Geek on 03/31/10 at 23:23:47
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.

Title: Re: Creating a file with all methods
Post by barragan on 04/01/10 at 01:41:23
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.

Wiring Forum » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.