Esp8266+arduino uno

Тема в разделе "Arduino & Shields", создана пользователем fedosalekseev, 24 апр 2021.

Метки:
  1. fedosalekseev

    fedosalekseev Нуб

    Привет всем!
    Вот такая ошибка при компиляции
    Код (C++):
    Arduino: 1.8.13 (Windows 10), Плата:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

    <command-line>:0:9: error: expected identifier before numeric constant

    C:\Users\fyodo\OneDrive\���������\Arduino\libraries\ESP8266/ESP8266.h:36:7: note: in expansion of macro 'ESP8266'

    class ESP8266 {

           ^

    <command-line>:0:9: error: expected unqualified-id before numeric constant

    C:\Users\fyodo\OneDrive\���������\Arduino\libraries\ESP8266/ESP8266.h:36:7: note: in expansion of macro 'ESP8266'

    class ESP8266 {

           ^

    <command-line>:0:9: error: expected unqualified-id before numeric constant

    C:\Users\fyodo\OneDrive\Документы\Arduino\temp_online\temp_online.ino:10:1: note: in expansion of macro 'ESP8266'

    C:\Users\fyodo\OneDrive\Документы\Arduino\temp_online\temp_online.ino: In function 'void setup()':

    temp_online:15:7: error: 'wifi' was not declared in this scope

    C:\Users\fyodo\OneDrive\Документы\Arduino\temp_online\temp_online.ino: In function 'void loop()':

    temp_online:26:7: error: 'wifi' was not declared in this scope

    exit status 1

    'wifi' was not declared in this scope
    http://wiki.amperka.ru/_export/code/iot-m?codeblock=1 - это код

    Все подключено по инструкции