These are chat archives for esp8266/Arduino

21st
Jun 2017
Michael Miller
@Makuna
Jun 21 2017 07:13
@brutzler I believe they use an ISR on the receive pin, stores the data in the buffer, then let you read from the loop.
mikekgr
@mikekgr
Jun 21 2017 09:03

@Makuna
Thanks Michael for the reply. I changed the way I handled with the bollow and now it is working fine:

uint8_t * mac;
mac = WiFi.BSSID(i);
      Serial.printf(" , MAC: %02X:%02X:%02X:%02X:%02X:%02X\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);

Where i is the under question SSID number like :

int N= WiFi.scanNetworks();
for (int i = 0; i < N; i++)
    {
mac = WiFi.BSSID(i);
      Serial.printf(" , MAC: %02X:%02X:%02X:%02X:%02X:%02X\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
     }
andig
@andig
Jun 21 2017 12:31
Hello :) Is there any news or eta on SPIFFS support for esp32?
CodingCreature
@CodingCreate101
Jun 21 2017 16:37
Hi everyone. I have little problem with NodeMcu V3: While upload my code to esp, I have to press and hold flash button and then press reset button. But I have seen some people uploading code without touching the esp module. What am I missing? Help!
brutzler
@brutzler
Jun 21 2017 16:39
what is the "right" lib for SoftwareSerial? This one provided with the actual package (2.3.0)?
Asking because what ever I do, I do not receive any data on the RX-pin...
I use the same hardware for Receive/transmit data on TXD2/RXD2 (Serial.swap) sucessfully, but with Software.Serial it is not working at all. used lot of different pin-pairs.
Bert Melis
@bertmelis
Jun 21 2017 17:39
There's a "built in" lib? I've always been using the espsoftwareserial as found on Github.
from @plerup
brutzler
@brutzler
Jun 21 2017 17:40
C:\Users\brutzler\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SoftwareSerial
but looks to be the same....
brutzler
@brutzler
Jun 21 2017 21:10
Hmmm... SoftwareSerial still not working. I see with the logic-analyzer definitely a serial stream with 9600 baud at the RX-Pin. But reading out the buffer shows NOTHING :-(
CodingCreature
@CodingCreate101
Jun 21 2017 22:36
Then you probably need a voltage divider at Rx