Moderator edit: Once again, please USE CODE FORMATTING when posting logs or code.
Processing esp32doit-devkit-v1 (platform: espressif32; board: esp32doit-devkit-v1; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.12.4 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 3.10004.200129 (1.0.4)
- tool-esptoolpy 1.20600.0 (2.6.0)
- tool-mkspiffs 2.230.0 (2.30)
- toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 229 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SPI> 1.0
|-- <Wire>
Building in release mode
Compiling .pio\build\esp32doit-devkit-v1\src\main.cpp.o
Generating partitions .pio\build\esp32doit-devkit-v1\partitions.bin
Compiling .pio\build\esp32doit-devkit-v1\lib4f7\SPI\SPI.cpp.o
Compiling .pio\build\esp32doit-devkit-v1\lib8e1\Wire\Wire.cpp.o
Archiving .pio\build\esp32doit-devkit-v1\libFrameworkArduinoVariant.a
C:\Users\joema\Documents\libraries\Wire\Wire.cpp:27:17: fatal error: twi.h: No such file or directory
*************************************************************
* Looking for twi.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:twi.h"
* Web > https://platformio.org/lib/search?query=header:twi.h
*
*************************************************************
compilation terminated.
Compiling .pio\build\esp32doit-devkit-v1\FrameworkArduino\Esp.cpp.o
*** [.pio\build\esp32doit-devkit-v1\lib8e1\Wire\Wire.cpp.o] Error 1
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:30:0: warning: "SPI_HAS_TRANSACTION" redefined
#define SPI_HAS_TRANSACTION 1
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:25:0: note: this is the location of the previous definition
#define SPI_HAS_TRANSACTION
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:51:0: warning: "SPI_MODE0" redefined
#define SPI_MODE0 0x00
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:41:0: note: this is the location of the previous definition
#define SPI_MODE0 0
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:52:0: warning: "SPI_MODE1" redefined
#define SPI_MODE1 0x04
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:42:0: note: this is the location of the previous definition
#define SPI_MODE1 1
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:53:0: warning: "SPI_MODE2" redefined
#define SPI_MODE2 0x08
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:43:0: note: this is the location of the previous definition
#define SPI_MODE2 2
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:54:0: warning: "SPI_MODE3" redefined
#define SPI_MODE3 0x0C
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:44:0: note: this is the location of the previous definition
#define SPI_MODE3 3
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:56:0: warning: "SPI_CLOCK_DIV4" redefined
#define SPI_CLOCK_DIV4 0x00
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:34:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV4 0x00241001 //4 MHz
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:57:0: warning: "SPI_CLOCK_DIV16" redefined
#define SPI_CLOCK_DIV16 0x01
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:36:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV16 0x009c1001 //1 MHz
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:58:0: warning: "SPI_CLOCK_DIV64" redefined
#define SPI_CLOCK_DIV64 0x02
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:38:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV64 0x027c1001 //250 KHz
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:59:0: warning: "SPI_CLOCK_DIV128" redefined
#define SPI_CLOCK_DIV128 0x03
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:39:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV128 0x04fc1001 //125 KHz
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:60:0: warning: "SPI_CLOCK_DIV2" redefined
#define SPI_CLOCK_DIV2 0x04
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:33:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV2 0x00101001 //8 MHz
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:61:0: warning: "SPI_CLOCK_DIV8" redefined
#define SPI_CLOCK_DIV8 0x05
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:35:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV8 0x004c1001 //2 MHz
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:62:0: warning: "SPI_CLOCK_DIV32" redefined
#define SPI_CLOCK_DIV32 0x06
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from src\main.cpp:22:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:37:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV32 0x013c1001 //500 KHz
^
In file included from src\main.cpp:24:0:
C:\Users\joema\Documents\libraries\Wire/Wire.h:2:1: error: stray '\342' in program
Search or jump to…
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:2:1: error: stray '\200' in program
C:\Users\joema\Documents\libraries\Wire/Wire.h:2:1: error: stray '\246' in program
C:\Users\joema\Documents\libraries\Wire/Wire.h:9:1: error: stray '@' in program
@MonsterThews
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:11:1: error: stray '\342' in program
Using the Hello World guide, you’ll start a branch, write comments, and open a pull request.
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:11:1: error: stray '\200' in program
C:\Users\joema\Documents\libraries\Wire/Wire.h:11:1: error: stray '\231' in program
C:\Users\joema\Documents\libraries\Wire/Wire.h:31:1: error: stray '@' in program
@earlephilhower
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:32:69: error: stray '#' in program
earlephilhower Reduce the IRAM usage of I2C code by 600-1500 bytes (#6326)
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:33:1: error: stray '\342' in program
…
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:33:1: error: stray '\200' in program
C:\Users\joema\Documents\libraries\Wire/Wire.h:33:1: error: stray '\246' in program
C:\Users\joema\Documents\libraries\Wire/Wire.h:37:1: error: stray '@' in program
@igrr@earlephilhower@devyte@d-a-v@dave-prosee@everslick@carlsa
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:37:6: error: stray '@' in program
@igrr@earlephilhower@devyte@d-a-v@dave-prosee@everslick@carlsa
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:37:21: error: stray '@' in program
@igrr@earlephilhower@devyte@d-a-v@dave-prosee@everslick@carlsa
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:37:28: error: stray '@' in program
@igrr@earlephilhower@devyte@d-a-v@dave-prosee@everslick@carlsa
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:37:34: error: stray '@' in program
@igrr@earlephilhower@devyte@d-a-v@dave-prosee@everslick@carlsa
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:37:46: error: stray '@' in program
@igrr@earlephilhower@devyte@d-a-v@dave-prosee@everslick@carlsa
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:37:56: error: stray '@' in program
@igrr@earlephilhower@devyte@d-a-v@dave-prosee@everslick@carlsa
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:127:1: error: stray '\302' in program
© 2020 GitHub, Inc.
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:127:1: error: stray '\251' in program
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:30:0: warning: "SPI_HAS_TRANSACTION" redefined
#define SPI_HAS_TRANSACTION 1
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:25:0: note: this is the location of the previous definition
#define SPI_HAS_TRANSACTION
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:51:0: warning: "SPI_MODE0" redefined
#define SPI_MODE0 0x00
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:41:0: note: this is the location of the previous definition
#define SPI_MODE0 0
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:52:0: warning: "SPI_MODE1" redefined
#define SPI_MODE1 0x04
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:42:0: note: this is the location of the previous definition
#define SPI_MODE1 1
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:53:0: warning: "SPI_MODE2" redefined
#define SPI_MODE2 0x08
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:43:0: note: this is the location of the previous definition
#define SPI_MODE2 2
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:54:0: warning: "SPI_MODE3" redefined
#define SPI_MODE3 0x0C
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:44:0: note: this is the location of the previous definition
#define SPI_MODE3 3
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:56:0: warning: "SPI_CLOCK_DIV4" redefined
#define SPI_CLOCK_DIV4 0x00
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:34:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV4 0x00241001 //4 MHz
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:57:0: warning: "SPI_CLOCK_DIV16" redefined
#define SPI_CLOCK_DIV16 0x01
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:36:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV16 0x009c1001 //1 MHz
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:58:0: warning: "SPI_CLOCK_DIV64" redefined
#define SPI_CLOCK_DIV64 0x02
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:38:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV64 0x027c1001 //250 KHz
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:59:0: warning: "SPI_CLOCK_DIV128" redefined
#define SPI_CLOCK_DIV128 0x03
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:39:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV128 0x04fc1001 //125 KHz
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:60:0: warning: "SPI_CLOCK_DIV2" redefined
#define SPI_CLOCK_DIV2 0x04
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:33:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV2 0x00101001 //8 MHz
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:61:0: warning: "SPI_CLOCK_DIV8" redefined
#define SPI_CLOCK_DIV8 0x05
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:35:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV8 0x004c1001 //2 MHz
^
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:62:0: warning: "SPI_CLOCK_DIV32" redefined
#define SPI_CLOCK_DIV32 0x06
^
In file included from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal.h:57:0,
from C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:35,
from C:\Users\joema\Documents\libraries\SPI\SPI.h:16,
from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:
C:\Users\joema\.platformio\packages\framework-arduinoespressif32\cores\esp32/esp32-hal-spi.h:37:0: note: this is the location of the previous definition
#define SPI_CLOCK_DIV32 0x013c1001 //500 KHz
^
In file included from src\main.cpp:23:0:
C:\Users\joema\Documents\libraries\SPI/SPI.h:1398:8: error: 'SPIClass' does not name a type
extern SPIClass SPI;
^
In file included from src\main.cpp:24:0:
C:\Users\joema\Documents\libraries\Wire/Wire.h:1:1: error: 'Skip' does not name a type
Skip to content
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:122:8: error: 'TwoWire' does not name a type
extern TwoWire Wire;
^
C:\Users\joema\Documents\libraries\Wire/Wire.h:127:4: error: expected unqualified-id before numeric constant
© 2020 GitHub, Inc.
^
src\main.cpp: In function 'void loop()':
src\main.cpp:39:9: error: 'baro' was not declared in this scope
if (! baro.begin()) {
^
src\main.cpp:44:19: error: 'baro' was not declared in this scope
float pascals = baro.getPressure();
^
*** [.pio\build\esp32doit-devkit-v1\src\main.cpp.o] Error 1
In file included from C:\Users\joema\Documents\libraries\SPI\SPI.cpp:11:0:
C:\Users\joema\Documents\libraries\SPI\SPI.h:1398:8: error: 'SPIClass' does not name a type
extern SPIClass SPI;
^
*** [.pio\build\esp32doit-devkit-v1\lib4f7\SPI\SPI.cpp.o] Error 1
========================================================================================= [FAILED]