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

'Wire1' was not declared in this scope

$
0
0

Hi,

I have a sketch using U8g2lib.h to control a display using a 2nd SPI port on a Teensy LC.
This sketch runs fine on IDE 1.8.19.

Now using IDE 2.2.1 the sketch comes up with the error:

U8x8lib.cpp:1387:7: error: 'Wire1' was not declared in this scope

In both IDE versions a test on declaring Wire1.h in a #define results in a "no such file or directory error".

Both IDE use the same library.

What could be wrong?

Gr,
Ron

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 15317

Trending Articles