切换到宽版
  • 22646阅读
  • 57回复

[ARM]esp8266 oled weather station-改中文显示,国内天气源,3D打印外壳 [复制链接]

上一主题 下一主题
离线deng0001
发帖
1
M币
-497
专家
0
粉丝
1
只看该作者 50楼 发表于: 01-01
楼主可一把源码发邮箱下吗1551665485@qq.com
离线feelingme
发帖
1
M币
-20
专家
0
粉丝
1
只看该作者 51楼 发表于: 02-03
这也太鼓了
离线lostme

发帖
59
M币
99
专家
0
粉丝
3
只看该作者 52楼 发表于: 02-03
楼主壳子是哪里做的?成本咋样
离线捡垃圾的

发帖
10
M币
382
专家
0
粉丝
0
只看该作者 53楼 发表于: 03-16
提示这个问题,楼主能回答下吗

no matching function for call to 'SSD1306Wire::SSD1306Wire(const int&, const int&, const int&)'
离线捡垃圾的

发帖
10
M币
382
专家
0
粉丝
0
只看该作者 54楼 发表于: 03-18
楼主  没有仿制成功呢?  遇到'class WiFiManager' has no member named 'setAPCallback'   这个编译错误了
离线学坏

发帖
37
M币
1186
专家
2
粉丝
10
只看该作者 55楼 发表于: 05-31
回 捡垃圾的 的帖子
捡垃圾的:楼主  没有仿制成功呢?  遇到'class WiFiManager' has no member named 'setAPCallback'   这个编译错误了 (2018-03-18 21:08) 回 捡垃圾的 的帖子

到库管理里升级一下wifimanger这个
离线off-ice

发帖
25
M币
-40
专家
0
粉丝
3
只看该作者 56楼 发表于: 06-01
编译出错了。
C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp: In member function 'void OLEDDisplay::DrawUnicodeChar(byte, int16_t, byte, byte, unsigned char*)':

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:201:8: error: 'class fs::FS' has no member named 'end'

SPIFFS.end();

        ^

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp: In member function 'void OLEDDisplay::drawChineseChar(byte, byte, char*)':

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:218:8: error: 'class fs::FS' has no member named 'end'

SPIFFS.end();

        ^

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp: In member function 'uint16_t OLEDDisplay::getStringWidth(const char*, uint16_t)':

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:662:43: error: 'max' was not declared in this scope

       maxWidth = max(maxWidth, stringWidth);

                                           ^

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:662:43: note: suggested alternative:

In file included from c:\users\pinghe\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:62:0,

                 from C:\Users\pinghe\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/FS.h:25,

                 from C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:27:

c:\users\pinghe\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algobase.h:260:5: note:   'std::max'

     max(const _Tp& __a, const _Tp& __b, _Compare __comp)

     ^

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:667:35: error: 'max' was not declared in this scope

   return max(maxWidth, stringWidth);

                                   ^

C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:667:35: note: suggested alternative:

In file included from c:\users\pinghe\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:62:0,

                 from C:\Users\pinghe\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/FS.h:25,

                 from C:\Users\pinghe\Documents\Arduino\libraries\ESP8266_Oled_Driver_for_SSD1306_display\OLEDDisplay.cpp:27:

c:\users\pinghe\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algobase.h:260:5: note:   'std::max'

     max(const _Tp& __a, const _Tp& __b, _Compare __comp)

     ^

exit status 1
为开发板 NodeMCU 1.0 (ESP-12E Module) 编译时出错。
离线off-ice

发帖
25
M币
-40
专家
0
粉丝
3
只看该作者 57楼 发表于: 06-02
楼主帮忙看一下,问题出在那里。
快速回复
限80 字节
温馨提示:所有技术区严禁灌水,“沙发”“顶”字样;禁止广告贴;以免被删除
 
上一个 下一个