mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 10:17:15 +02:00
Add declarations for all Serial, SPI and Wire buses
This commit is contained in:
@ -288,3 +288,4 @@ void SPIClass::writePattern_(uint8_t * data, uint8_t size, uint8_t repeat)
|
||||
}
|
||||
|
||||
SPIClass SPI(VSPI);
|
||||
SPIClass SPI1(HSPI);
|
||||
|
@ -83,5 +83,6 @@ public:
|
||||
};
|
||||
|
||||
extern SPIClass SPI;
|
||||
extern SPIClass SPI1;
|
||||
|
||||
#endif
|
||||
|
@ -364,3 +364,4 @@ void TwoWire::dumpI2C()
|
||||
}
|
||||
|
||||
TwoWire Wire = TwoWire(0);
|
||||
TwoWire Wire1 = TwoWire(1);
|
||||
|
@ -134,6 +134,7 @@ public:
|
||||
};
|
||||
|
||||
extern TwoWire Wire;
|
||||
extern TwoWire Wire1;
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user