Closed tofrnr closed 7 years ago
Hi tofrnr
Let's switch to English so more people can profit from this. Please turn on "Show verbose output during compilation" in your Arduino settings and put the last part of the output here. With the provided output is impossible to give a good help...
Cheers, Dani
this is my compete error message
(I renamed the file name
SSD1306SimpleDemo.ino
to
Beispiel_6.4.1_squix.ino
to fit to my working dir files):
Arduino: 1.8.2 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 4M (3M SPIFFS), nodemcu, Disabled, None"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\hannah\AppData\Local\Arduino15\packages -hardware D:\Arduino\patch_libs\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\hannah\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Arduino\patch_libs\Arduino\libraries -fqbn=esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=4M3M,ResetMethod=nodemcu,Debug=Disabled,DebugLevel=None -ide-version=10802 -build-path C:\Users\hannah\AppData\Local\Temp\arduino_build_151620 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.1.2 -prefs=runtime.tools.esptool.path=C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9 -verbose C:\Users\hannah\Desktop\BRK_IoT-Set_Examples\BRK_IoT-Set_Examples\Beispiel_6.4.1_squix\Beispiel_6.4.1_squix.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\hannah\AppData\Local\Arduino15\packages -hardware D:\Arduino\patch_libs\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\hannah\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Arduino\patch_libs\Arduino\libraries -fqbn=esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=4M3M,ResetMethod=nodemcu,Debug=Disabled,DebugLevel=None -ide-version=10802 -build-path C:\Users\hannah\AppData\Local\Temp\arduino_build_151620 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.1.2 -prefs=runtime.tools.esptool.path=C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9 -verbose C:\Users\hannah\Desktop\BRK_IoT-Set_Examples\BRK_IoT-Set_Examples\Beispiel_6.4.1_squix\Beispiel_6.4.1_squix.ino Using board 'generic' from platform in folder: C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0 Using core 'esp8266' from platform in folder: C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0 Detecting libraries used... "C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI__ "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "C:\Users\hannah\AppData\Local\Temp\arduino_build_151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "nul" "C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\Wire" "C:\Users\hannah\AppData\Local\Temp\arduino_build_151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "nul" "C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\Wire" "-ID:\Arduino\patch_libs\Arduino\libraries\esp8266-oled-ssd1306-master" "C:\Users\hannah\AppData\Local\Temp\arduino_build_151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "nul" "C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets__ -DICACHE_FLASH -USTRICT_ANSI__ "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\Wire" "-ID:\Arduino\patch_libs\Arduino\libraries\esp8266-oled-ssd1306-master" "C:\Users\hannah\AppData\Local\Temp\arduino_build_151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "C:\Users\hannah\AppData\Local\Temp\arduino_build_151620\preproc\ctags_target_for_gcc_minus_e.cpp" C:\Users\hannah\Desktop\BRK_IoT-Set_Examples\BRK_IoT-Set_Examples\Beispiel_6.4.1_squix\Beispiel_6.4.1_squix.ino:41:20: fatal error: images.h: No such file or directory
^
compilation terminated.
Bibliothek Wire in Version 1.0 im Ordner: C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\Wire wird verwendet Bibliothek esp8266-oled-ssd1306-master in Version 3.2.7 im Ordner: D:\Arduino\patch_libs\Arduino\libraries\esp8266-oled-ssd1306-master wird verwendet exit status 1 Fehler beim Kompilieren für das Board Generic ESP8266 Module.
looks like you are missing the images.h file: : fatal error: images.h: No such file or directory
Which demo you are trying to compile? The UI Demo? when I open it through the file > examples > SSD1306... > UiDemo then I get an images.h
Maybe you renamed something?
2017-06-04 15:28 GMT+02:00 tofrnr notifications@github.com:
this is my compete error message:
Arduino: 1.8.2 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 4M (3M SPIFFS), nodemcu, Disabled, None"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\hannah\AppData\Local\Arduino15\packages -hardware D:\Arduino\patch_libs\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\hannah\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Arduino\patch_libs\Arduino\libraries -fqbn=esp8266:esp8266:generic: CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed= 115200,FlashSize=4M3M,ResetMethod=nodemcu,Debug=Disabled,DebugLevel=None -ide-version=10802 -build-path C:\Users\hannah\AppData\Local\Temp\arduino_build_151620 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\ hannah\AppData\Local\Arduino15\packages\esp8266\ tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\tools\mkspiffs\0.1.2 -prefs=runtime.tools.esptool.path=C:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\tools\esptool\0.4.9 -verbose C:\Users\hannah\Desktop\BRK_IoT-Set_Examples\BRKIoT-Set Examples\Beispiel_6.4.1_squix\Beispiel_6.4.1_squix.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\hannah\AppData\Local\Arduino15\packages -hardware D:\Arduino\patch_libs\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\hannah\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Arduino\patch_libs\Arduino\libraries -fqbn=esp8266:esp8266:generic: CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed= 115200,FlashSize=4M3M,ResetMethod=nodemcu,Debug=Disabled,DebugLevel=None -ide-version=10802 -build-path C:\Users\hannah\AppData\Local\Temp\arduino_build_151620 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\ hannah\AppData\Local\Arduino15\packages\esp8266\ tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\tools\mkspiffs\0.1.2 -prefs=runtime.tools.esptool.path=C:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\tools\esptool\0.4.9 -verbose C:\Users\hannah\Desktop\BRK_IoT-Set_Examples\BRKIoT-Set Examples\Beispiel_6.4.1_squix\Beispiel_6.4.1_squix.ino Using board 'generic' from platform in folder: C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\ hardware\esp8266\2.3.0 Using core 'esp8266' from platform in folder: C:\Users\hannah\AppData\Local\Arduino15\packages\esp8266\ hardware\esp8266\2.3.0 Detecting libraries used... "C:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI__ "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "C:\Users\hannah\AppData\Local\Temp\arduinobuild 151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "nul" "C:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0\libraries\Wire" "C:\Users\hannah\AppData\ Local\Temp\arduino_build_151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "nul" "C:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0\libraries\Wire" "-ID:\Arduino\patch_libs\ Arduino\libraries\esp8266-oled-ssd1306-master" "C:\Users\hannah\AppData\ Local\Temp\arduino_build_151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "nul" "C:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets__ -DICACHE_FLASH -USTRICT_ANSI__ "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\hannah\AppData\Local\Temp\arduino_build_151620/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10802 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\hannah\AppData\ Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\hannah\AppData\Local\Arduino15\packages\ esp8266\hardware\esp8266\2.3.0\libraries\Wire" "-ID:\Arduino\patch_libs\ Arduino\libraries\esp8266-oled-ssd1306-master" "C:\Users\hannah\AppData\ Local\Temp\arduino_build_151620\sketch\Beispiel_6.4.1_squix.ino.cpp" -o "C:\Users\hannah\AppData\Local\Temp\arduinobuild 151620\preproc\ctags_target_for_gcc_minus_e.cpp" C:\Users\hannah\Desktop\BRK_IoT-Set_Examples\BRKIoT-Set Examples\Beispiel_6.4.1_squix\Beispiel_6.4.1_squix.ino:41:20: fatal error: images.h: No such file or directory
include "images.h"
^
compilation terminated.
Bibliothek Wire in Version 1.0 im Ordner: C:\Users\hannah\AppData\Local\ Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\Wire wird verwendet Bibliothek esp8266-oled-ssd1306-master in Version 3.2.7 im Ordner: D:\Arduino\patch_libs\Arduino\libraries\esp8266-oled-ssd1306-master wird verwendet exit status 1 Fehler beim Kompilieren für das Board Generic ESP8266 Module.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/squix78/esp8266-oled-ssd1306/issues/126#issuecomment-306040045, or mute the thread https://github.com/notifications/unsubscribe-auth/AArwFqReOzYxg7Hr2U3qx1qiLQ7dvtd3ks5sArEGgaJpZM4NvVZm .
1st time it was from the original folder, 2nd time from my working dir. so again, from original folder:
exit status 1 'D3' was not declared in this scope
changed that to SSD1306 display(0x3c, 2, 14);
You get that error, if you aren not using neither NodeMCU nor Wemos module. Either replace the D* pins with an integer or add a #define D3 ... statement
2017-06-04 16:46 GMT+02:00 tofrnr notifications@github.com:
1st time it was from the original folder, 2nd time from my working dir. so again, from original folder:
exit status 1 'D3' was not declared in this scope
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/squix78/esp8266-oled-ssd1306/issues/126#issuecomment-306044400, or mute the thread https://github.com/notifications/unsubscribe-auth/AArwFoUbPF_ZM7Qj8T0V65Kr_ehAmxObks5sAsM2gaJpZM4NvVZm .
And did it work? Please close this issue if you agree that the issue has been resolved...
2017-06-04 16:49 GMT+02:00 tofrnr notifications@github.com:
changed that to SSD1306 display(0x3c, 2, 14);
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/squix78/esp8266-oled-ssd1306/issues/126#issuecomment-306044565, or mute the thread https://github.com/notifications/unsubscribe-auth/AArwFj_sFDjIRNztdshLuVnG-2YHMC2fks5sAsQDgaJpZM4NvVZm .
i don't know what a NodeMCU nor Wemos module is or how to get it. I just installed the general ESP8266 board. Strangely indeed the img file was not copied to the new sketch name to the new folder, but now it is in there. D3, D5 is definetively wrong, but with 2, 14 (D4, D5) there is no compile error any more.
Anyway, the display output is broken, I see some flickering and random dot pixels and now an then a small part of a shape or a text at the bottom or the middle of the screen, then vanishing quickly. So now just the output is faulty ftm.
Can you please post a picture of your hardware. It is really hard to help without information...
2017-06-04 16:54 GMT+02:00 tofrnr notifications@github.com:
i don't know what a NodeMCU nor Wemos module is or how to get it. I just installed the general ESP8266 board. Strangely indeed the img file was not copied to the new sketch name to the new folder, but now itis in there. D3, D5 is definetively wrong, but with 2, 14 (D4, D5) there is no compile error any more.
Anyway, the display output is broken, I see some flickering and random dot pixels and now an then a small part of a shape at the bottom of the scrren, then vanishing quickly. So now just the output is broken ftm.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/squix78/esp8266-oled-ssd1306/issues/126#issuecomment-306044857, or mute the thread https://github.com/notifications/unsubscribe-auth/AArwFs3SH-bbT6obQekdEFL_r-v6caXvks5sAsU1gaJpZM4NvVZm .
yes, you're welcome! I have 2 identical ones, both working fine for my Raspberry Pi but both have identical issues for your lib unfortunately. it's not originally from Adafruit but SSD1306 128x64 though.
this is how it looks for my Raspi:
ps, meanwhile also tried
instead of
and now it works! thank you very much, issue can be closed!
Please also send one from your ESP module...
Sent from my iPhone
On 4 Jun 2017, at 17:23, tofrnr notifications@github.com wrote:
yes, you're welcome! I have 2 identical ones, both working fine for my Raspberry Pi but both have identical issues for your lib unfortunately. t's not oroiginally from Adafruit but SSD1306 128x64 though.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Actually you might be using the wrong driver. This is a 1.3" display which usually has the SH1101 chip. Use this header instead and do proper instantiation as explained in the readme: https://github.com/squix78/esp8266-oled-ssd1306/blob/master/SH1106.h
Sent from my iPhone
On 4 Jun 2017, at 17:23, tofrnr notifications@github.com wrote:
yes, you're welcome! I have 2 identical ones, both working fine for my Raspberry Pi but both have identical issues for your lib unfortunately. t's not oroiginally from Adafruit but SSD1306 128x64 though.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
yes, although it was sold as a SSD1306 from a German vendor it seems to be a 1.3" SH1106, and as a SH1106 display(0x3c, D4, D5); it eventually worked!
hallo, ich kann den Beispiel Sketch nicht kompilieren SSD1306SimpleDemo.ino
mein Board: ESP8266 12-F
Bibliothek esp8266-oled-ssd1306-master in Version 3.2.7 im Ordner: D:\Arduino\patch_libs\Arduino\libraries\esp8266-oled-ssd1306-master wird verwendet exit status 1 Fehler beim Kompilieren für das Board Generic ESP8266 Module.
ich habe auch den Verdacht, dss die I2C Pin Settings falsch sein könnten, denn das ESP8266 Board hat I2C SCL: GPIO14 D5 I2C SDA: GPIO2 D4
allerdings funktionieren auch nicht SSD1306 display(0x3c, D4, D5); SSD1306 display(0x3c, 2, 14);
beides dürfte aber zu keinem Compile Error führen, höchstens zu einem Laufzeitfehler (CMIIW).
Im Gegensatz dazu gibt der i2c-Scanner http://playground.arduino.cc/Main/I2cScanner
korrekt aus per:
Wire.begin(2, 14);