s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
936 stars 216 forks source link

I2C library issue #508

Closed rjsachse closed 1 month ago

rjsachse commented 1 month ago

Firstly, excellent work once again. I apologize for only now getting around to testing the I2C components and encountering an issue with the inclusion of SSD1306Wire.h. It appears to be intended for Arduino rather than ESP32. Below is the error message.

c:\Users\rohan\OneDrive\Documents\libraries\SSD1306wire\src\SSD1306wire.cpp:1:10: fatal error: avr/pgmspace.h: No such file or directory
    1 | #include <avr/pgmspace.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

What library are you using?

s60sc commented 1 month ago

https://github.com/ThingPulse/esp8266-oled-ssd1306 ill add a comment

rjsachse commented 1 month ago

Thanks found a few libraries with SSD1306wire.h