Where is my wire.h file

Hi,
I used wire.h in my code, but did't find where the file located, why?
Thanks
Adam

Because you didn't spell "Wire.h" correctly. It has to be 'Wire', not 'wire'

1 Like

The actual file for the AVR boards is at (on my Win 10 machine):

...\Arduino 1.8.19\hardware\arduino\avr\libraries\Wire

If you have other boards installed the file may be elsewhere.
ATTinyCore:

...\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2\libraries\Wire

ESP32:

...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\Wire

1 Like

Great!
Thank you.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.