Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15427

Problem with #include

$
0
0

I have a main ino file in my directory:

#include "test.h"
#include "test.ino"

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

I have the two include files referenced in the same directory. When I compile, I get:
test.ino: No such file or directory

This fails in v2.3.2 of the IDE, it fails in v1.8.2 of the IDE, and it fails in Visual Studio Code.

I need help in determining why I can't compile a system with multiple .ino files to share functions. Somebody in the world can.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 15427

Trending Articles