{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5194","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5194/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5194/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5194/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/5194","id":188450500,"number":5194,"title":"Display lines Error","user":{"login":"Kaibob2","id":20832276,"avatar_url":"https://avatars.githubusercontent.com/u/20832276?v=3","gravatar_id":"","url":"https://api.github.com/users/Kaibob2","html_url":"https://github.com/Kaibob2","followers_url":"https://api.github.com/users/Kaibob2/followers","following_url":"https://api.github.com/users/Kaibob2/following{/other_user}","gists_url":"https://api.github.com/users/Kaibob2/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaibob2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaibob2/subscriptions","organizations_url":"https://api.github.com/users/Kaibob2/orgs","repos_url":"https://api.github.com/users/Kaibob2/repos","events_url":"https://api.github.com/users/Kaibob2/events{/privacy}","received_events_url":"https://api.github.com/users/Kaibob2/received_events","type":"User","site_admin":false},"labels":[{"id":91739380,"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Bug:%20Verified%20!","name":"Bug: Verified !","color":"e11d21","default":false},{"id":381629126,"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Needs:%20Patch","name":"Needs: Patch","color":"b60205","default":false},{"id":92232148,"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Needs:%20Work","name":"Needs: Work","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-10T08:46:19Z","updated_at":"2016-11-17T08:55:49Z","closed_at":null,"body":"I have modified ultralcd.cpp to switch the LED case lights on/off:\r\n```\r\n static void lcd_main_menu() {\r\n    START_MENU();\r\n    MENU_BACK(MSG_WATCH);\r\n\tMENU_ITEM(gcode, MSG_LIGHTS_OFF, PSTR(\"M42 P11 S0\"));            //Lights Off\r\n    MENU_ITEM(gcode, MSG_LIGHTS_ON, PSTR(\"M42 P11 S255\"));           //Lights On LED Strip on PIN D11\r\n    #if ENABLED(BLTOUCH)\r\n      if (!endstops.z_probe_enabled && TEST_BLTOUCH())\r\n        MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR(\"M280 P\" STRINGIFY(Z_ENDSTOP_SERVO_NR) \" S\" STRINGIFY(BLTOUCH_RESET)));\r\n    #endif\r\n\r\n    if (planner.movesplanned() || IS_SD_PRINTING) {\r\n      MENU_ITEM(submenu, MSG_TUNE, lcd_tune_menu);\r\n    }\r\n    else {\r\n      MENU_ITEM(submenu, MSG_PREPARE, lcd_prepare_menu);\r\n      #if ENABLED(DELTA_CALIBRATION_MENU)\r\n        MENU_ITEM(submenu, MSG_DELTA_CALIBRATE, lcd_delta_calibrate_menu);\r\n      #endif\r\n    }\r\n    MENU_ITEM(submenu, MSG_CONTROL, lcd_control_menu);\r\n\r\n    #if ENABLED(SDSUPPORT)\r\n      if (card.cardOK) {\r\n        if (card.isFileOpen()) {\r\n          if (card.sdprinting)\r\n            MENU_ITEM(function, MSG_PAUSE_PRINT, lcd_sdcard_pause);\r\n          else\r\n            MENU_ITEM(function, MSG_RESUME_PRINT, lcd_sdcard_resume);\r\n          MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);\r\n        }\r\n        else {\r\n          MENU_ITEM(submenu, MSG_CARD_MENU, lcd_sdcard_menu);\r\n          #if !PIN_EXISTS(SD_DETECT)\r\n            MENU_ITEM(gcode, MSG_CNG_SDCARD, PSTR(\"M21\"));  // SD-card changed by user\r\n          #endif\r\n        }\r\n      }\r\n      else {\r\n        MENU_ITEM(submenu, MSG_NO_CARD, lcd_sdcard_menu);\r\n        #if !PIN_EXISTS(SD_DETECT)\r\n          MENU_ITEM(gcode, MSG_INIT_SDCARD, PSTR(\"M21\")); // Manually initialize the SD-card via user interface\r\n        #endif\r\n      }\r\n    #endif //SDSUPPORT\r\n\r\n    #if ENABLED(LCD_INFO_MENU)\r\n      MENU_ITEM(submenu, MSG_INFO_MENU, lcd_info_menu);\r\n    #endif\r\n\r\n    END_MENU();\r\n  }\r\n```\r\nThis makes the main menu look like this\r\n\r\n![on1](https://cloud.githubusercontent.com/assets/20832276/20169859/0db6bb6c-a72a-11e6-9404-ee15bd25d6fb.jpg)\r\n\r\nWhen i click \"Licht an\" the display behaves as expected.\r\nWhen i click \"Licht aus\" the display becomes faulty and stays like this until i turn the encoder knob.\r\n\r\n![off2](https://cloud.githubusercontent.com/assets/20832276/20169903/4d53b00e-a72a-11e6-8bfe-07f925f02906.jpg)\r\n\r\nClicking on any other entry behaves normal.\r\n"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/261190382","html_url":"https://github.com/MarlinFirmware/Marlin/issues/5194#issuecomment-261190382","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5194","id":261190382,"user":{"login":"Kaibob2","id":20832276,"avatar_url":"https://avatars.githubusercontent.com/u/20832276?v=3","gravatar_id":"","url":"https://api.github.com/users/Kaibob2","html_url":"https://github.com/Kaibob2","followers_url":"https://api.github.com/users/Kaibob2/followers","following_url":"https://api.github.com/users/Kaibob2/following{/other_user}","gists_url":"https://api.github.com/users/Kaibob2/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaibob2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaibob2/subscriptions","organizations_url":"https://api.github.com/users/Kaibob2/orgs","repos_url":"https://api.github.com/users/Kaibob2/repos","events_url":"https://api.github.com/users/Kaibob2/events{/privacy}","received_events_url":"https://api.github.com/users/Kaibob2/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T08:55:49Z","updated_at":"2016-11-17T08:55:49Z","body":"@petrzjunior Good observation! It's exactly the same here (like expected). I always wanted to dig into finding a red line to when exactly it happens, but there where always \"more important\" things to fix at the moment."}}
{"actor":{"display_login":"Kaibob2"}}