Download Here
Transcript
Multicast Domain Name Systems...................................................................................105 Installing Bonjour........................................................................................................106 Working with SNTP.........................................................................................................108 ESP-NOW........................................................................................................................... 109 GPIOs.................................................................................................................................. 110 Pullup and pull down settings..........................................................................................116 GPIO Interrupt handling..................................................................................................116 Expanding the number of available GPIOs.....................................................................117 ESP_PCF8574 C library.............................................................................................121 PCF8574 JavaScript Library......................................................................................122 Working with I2C................................................................................................................. 122 Working with SPI – Serial Peripheral Interface....................................................................124 Hardware SPI................................................................................................................. 126 Working with serial.............................................................................................................. 129 Task handling...................................................................................................................... 130 Timers and time................................................................................................................... 131 Working with memory.......................................................................................................... 132 Working with flash memory.................................................................................................136 Pulse Width Modulation – PWM..........................................................................................137 Analog to digital conversion.................................................................................................138 Sleep modes....................................................................................................................... 140 Watchdog timer................................................................................................................... 140 Yielding control............................................................................................................... 141 Security............................................................................................................................... 142 Mapping from Arduino......................................................................................................... 143 Partner TCP/IP APIs................................................................................................................ 144 Java Sockets....................................................................................................................... 144 WebSockets........................................................................................................................ 147 Programming using Eclipse.....................................................................................................147 Installing the Eclipse Serial terminal....................................................................................150 Programming using the Arduino IDE........................................................................................157 Implications of Arduino IDE support.....................................................................................158 Installing the Arduino IDE with ESP8266 support................................................................159 Tips for working in the Arduino environment........................................................................165 Initialize global classes in setup()....................................................................................165 Invoking Espressif SDK API from a sketch......................................................................165 Exception handling......................................................................................................... 166 The SPIFFS file system.......................................................................................................166 The mkspiffs command...................................................................................................166 The architecture of the Arduino IDE support........................................................................167 Building ESP Arduino apps using the Eclipse IDE...............................................................174 Reasons to consider using Eclipse over Arduino IDE.....................................................188 Notes on using the Eclipse Arduino package..................................................................189 Arduino ESP Libraries......................................................................................................... 190 Page 4