You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
I currently get an error from _ino build_
src/z_loop.pde: In function ‘void setup()’:
src/z_loop.pde:4:17: error: ‘setup_NeoPixel’ was not declared in this scope
I my scenario there are 2 files in the src/ folder:
a_NeoPixel.pde
z_loop.pde
The function _setup_NeoPixel()_ is declared in the file _a_NeoPixel.pde_
But when i try and call it in _z_loop.pde_ ino reports the above error.
The same code works in the Windows Arduino IDE (using 2 .pde files in the same folder, which show as 2 tabs in the IDE)
What do I need to do differently in ino to make this work?
The text was updated successfully, but these errors were encountered:
Norsak
changed the title
How do I compile multiple .pde files?
Error building multiple .pde files.
Feb 24, 2015
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The way I understand .pde files is:
They get concatenated in alphabetical order, then compiled. (not pre-compiled)
https://arduinodilettante.wordpress.com/2011/03/10/multiple-file-sketches/
I currently get an error from _ino build_
src/z_loop.pde: In function ‘void setup()’:
src/z_loop.pde:4:17: error: ‘setup_NeoPixel’ was not declared in this scope
I my scenario there are 2 files in the src/ folder:
a_NeoPixel.pde
z_loop.pde
The function _setup_NeoPixel()_ is declared in the file _a_NeoPixel.pde_
But when i try and call it in _z_loop.pde_ ino reports the above error.
The same code works in the Windows Arduino IDE (using 2 .pde files in the same folder, which show as 2 tabs in the IDE)
What do I need to do differently in ino to make this work?
The text was updated successfully, but these errors were encountered: