Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while compiling #7

Open
alex-schulster opened this issue Jun 16, 2018 · 0 comments
Open

Issue while compiling #7

alex-schulster opened this issue Jun 16, 2018 · 0 comments

Comments

@alex-schulster
Copy link

Hey,
I need your help, I'm getting an issue while compiling Skynet3D

The error message is "'lcd' was not declared in this scope",
Then, arduino software leads me to ultralcd_impl_HD44780.h

The error is in here according to the software

#if ENABLED(SDSUPPORT)

static void lcd_implementation_drawmenu_sd(const bool sel, const uint8_t row, const char* const pstr, const char* filename, char* const longFilename, const uint8_t concat, const char post_char) {
  UNUSED(pstr);
  char c;
  uint8_t n = LCD_WIDTH - concat;
  lcd.setCursor(0, row);
  lcd.print(sel ? '>' : ' ');
  if (longFilename[0]) {
    filename = longFilename;
    longFilename[n] = '\0';
  }
  while ((c = *filename) && n > 0) {
    n -= charset_mapper(c);
    filename++;
  }
  while (n--) lcd.print(' ');
  lcd.print(post_char);
}

The "lcd.setCursor(0, row);" is in red

Thank's for your help :)
skynet3d_issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant