These are chat archives for esp8266/Arduino

7th
May 2017
Michael Miller
@Makuna
May 07 2017 02:40
@IainIsCreative This is the Esp8266 Arduino gitter channel ;-)
Ivan Grokhotkov
@igrr
May 07 2017 03:20
I wonder if we can have some sort of a checklist for reporting issues of different types.
For example, for upload issues like esp8266/Arduino#3210
Maybe some set of links which lead to a "new issue" page, pre-populated with some template, depending on the type of the issue.
Sanya Verma
@ErisedKT
May 07 2017 11:09
void loop() {
  // set the cursor to column 0, line 1
  Serial.println("What would you like to print to the LCD?");
  while (Serial.available() == 0) { }
  char *ptr;
  int charsRead;
  if (Serial.available()) {
    charsRead = Serial.readBytesUntil('\n', readString, sizeof(readString) - 1);
    readString[charsRead] = '\0';
    ptr = readString;
    int limit = strlen(readString);
    for (int i = 0; i <= limit; i++) {
      if (readString[i] == ',') {
      readString[i] = '\0';
      Serial.println(ptr);
      ptr = &readString[i + 1];
      }
    }
  }

  lcd.print(ptr); 
  // (note: line 1 is the second row, since counting begins with 0):
   if (Serial.available() == 1) {
    lcd.clear();
   }
I want the input to show on the LCD and then display a different input if the user does something.
Iain
@IainIsCreative
May 07 2017 11:11
@Makuna Yeah, I was struggling to find an appropriate channel. :P
Sanya Verma
@ErisedKT
May 07 2017 11:11
all this does is write over the old text for example, if I write How are you? and then I write "Bye!" the LCD says "Bye!are you?"
4D Systems
@4dsystems
May 07 2017 12:14
You either need to clear the screen, and then print, or you need to print with trailing spaces to wipe what you wrote previously. "How are you?" followed by "Bye! ", for example.
(7 or so spaces after the ! didnt show up on this chat)
Emile Nijssen
@WeeJeWel
May 07 2017 12:15

Hi guys! I want to debug ESP8266httpUpdate, but my board (Wemos D1 Mini) has no 'Debug' option available under 'Tools'. So I tried adding the defines manually:

#define DEBUG_ESP_HTTP_UPDATE 1
#define DEBUG_ESP_PORT Serial

I still don't see debug messages though. Any advice?