.pde preprocessor
i looking how make wizzard turn .pde file .cpp files can debuged using debugger. in such way don't see (lot of) difference original .pde file.
i ascertained use following turn .pde .cpp:
----------------------------------
#include "wprogram.h"
<-- prototypes
sketch code
contents of main.cxx
----------------------------------
and prototypes of functions extracted automatically , put between #include "wprogram.h" , "sketch code".
did forget something?
for debugging change main.cxx in seperate .o file. , put prototypes in wprogram.h (only debugging).
so get:
------------------------------
#include "wprogram.h"
sketch code
------------------------------
and #include "wprogram.h" can treated white space sketch developper.
i ascertained use following turn .pde .cpp:
----------------------------------
#include "wprogram.h"
<-- prototypes
sketch code
contents of main.cxx
----------------------------------
and prototypes of functions extracted automatically , put between #include "wprogram.h" , "sketch code".
did forget something?
for debugging change main.cxx in seperate .o file. , put prototypes in wprogram.h (only debugging).
so get:
------------------------------
#include "wprogram.h"
sketch code
------------------------------
and #include "wprogram.h" can treated white space sketch developper.
or should be:
----------------------------
code main.cxx
sketch
-----------------------------
as notice #include <wprogram.h> in main.cpp
----------------------------
code main.cxx
sketch
-----------------------------
as notice #include <wprogram.h> in main.cpp
Arduino Forum > Forum 2005-2010 (read only) > Software > Development > .pde preprocessor
arduino
Comments
Post a Comment