espduino icon indicating copy to clipboard operation
espduino copied to clipboard

Arduino Leonardo compatibility ?

Open renno-bih opened this issue 10 years ago • 4 comments

What is required to make it work with Arduino Leonardo (ATMega 32U4) ?

renno-bih avatar May 22 '15 12:05 renno-bih

@renno-bih, Did you try to use with Leonardo ?

I have no Leonardo on hand, But I think it should work.

dogrocker avatar May 22 '15 18:05 dogrocker

Yes, it works :) Using Serial1 for ESP8266 and Serial for debugging. Also, make sure to use following after initialization of serial interface:

while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }

renno-bih avatar May 22 '15 19:05 renno-bih

Great!

dogrocker avatar May 22 '15 19:05 dogrocker

Hello,

When I upload software to esp8266 I get an error that is below. Please help me !!!.

pi@raspberrypi /usr/share/arduino/libraries/espduino $ sudo esp8266/tools/esptool.py -p /dev/ttyUSB0 write_flash 0x00000 esp8266/release/0x00000.bin 0x40000 esp8266/release/0x40000.bin Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Traceback (most recent call last): File "esp8266/tools/esptool.py", line 22, in import serial ImportError: No module named serial

ibrahimisim avatar Oct 15 '15 18:10 ibrahimisim