{"action":"created","issue":{"url":"https://api.github.com/repos/MagoKimbra/MK4duo/issues/35","repository_url":"https://api.github.com/repos/MagoKimbra/MK4duo","labels_url":"https://api.github.com/repos/MagoKimbra/MK4duo/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/MagoKimbra/MK4duo/issues/35/comments","events_url":"https://api.github.com/repos/MagoKimbra/MK4duo/issues/35/events","html_url":"https://github.com/MagoKimbra/MK4duo/issues/35","id":193541981,"number":35,"title":"Temperature status LEDs compiling error","user":{"login":"Dougwar","id":8310912,"avatar_url":"https://avatars.githubusercontent.com/u/8310912?v=3","gravatar_id":"","url":"https://api.github.com/users/Dougwar","html_url":"https://github.com/Dougwar","followers_url":"https://api.github.com/users/Dougwar/followers","following_url":"https://api.github.com/users/Dougwar/following{/other_user}","gists_url":"https://api.github.com/users/Dougwar/gists{/gist_id}","starred_url":"https://api.github.com/users/Dougwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dougwar/subscriptions","organizations_url":"https://api.github.com/users/Dougwar/orgs","repos_url":"https://api.github.com/users/Dougwar/repos","events_url":"https://api.github.com/users/Dougwar/events{/privacy}","received_events_url":"https://api.github.com/users/Dougwar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-05T16:18:23Z","updated_at":"2016-12-10T13:42:33Z","closed_at":null,"body":"Arduino: 1.6.9 (Windows 7), Placa:\"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)\"\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\MK_Main.cpp: In function 'void handle_status_leds()':\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:36: error: 'DIOSTAT_LED_RED_RPORT' was not declared in this scope\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                    ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:55:43: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                           ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:55:72: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                                                        ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:60:43: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                           ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:60:73: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:40: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                        ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:69: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                                                     ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:97: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                                                                                 ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:127: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                                                                                                               ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_RED, new_led ? HIGH : LOW);\r\n\r\n         ^\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:36: error: 'DIOSTAT_LED_BLUE_RPORT' was not declared in this scope\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                    ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:55:43: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                           ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:55:72: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                                                        ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:60:43: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                           ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nIn file included from sketch\\src\\../src/HAL_AVR/HAL.h:56:0,\r\n\r\n                 from sketch\\src\\../base.h:86,\r\n\r\n                 from sketch\\src\\MK_Main.cpp:31:\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:60:73: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope\r\n\r\n                                          {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \\\r\n\r\n                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:40: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                        ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:69: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                                                     ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:97: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                                                                                 ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:51:127: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope\r\n\r\n #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)\r\n\r\n                                                                                                                               ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'\r\n\r\n   #define MASK(PIN)  (1 << PIN)\r\n\r\n                            ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'\r\n\r\n #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)\r\n\r\n                                                                                                         ^\r\n\r\nsketch\\src\\../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'\r\n\r\n #define WRITE(IO, v)      _WRITE(IO, v)\r\n\r\n                           ^\r\n\r\nsketch\\src\\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'\r\n\r\n         WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);\r\n\r\n         ^\r\n\r\nexit status 1\r\nErro compilando para a placa Arduino/Genuino Mega or Mega 2560\r\n\r\nEste relatório teria mais informações com\r\n\"Mostrar a saida detalhada durante a compilação\"\r\nopção pode ser ativada em \"Arquivo -> Preferências\"\r\n"},"comment":{"url":"https://api.github.com/repos/MagoKimbra/MK4duo/issues/comments/266209145","html_url":"https://github.com/MagoKimbra/MK4duo/issues/35#issuecomment-266209145","issue_url":"https://api.github.com/repos/MagoKimbra/MK4duo/issues/35","id":266209145,"user":{"login":"Dougwar","id":8310912,"avatar_url":"https://avatars.githubusercontent.com/u/8310912?v=3","gravatar_id":"","url":"https://api.github.com/users/Dougwar","html_url":"https://github.com/Dougwar","followers_url":"https://api.github.com/users/Dougwar/followers","following_url":"https://api.github.com/users/Dougwar/following{/other_user}","gists_url":"https://api.github.com/users/Dougwar/gists{/gist_id}","starred_url":"https://api.github.com/users/Dougwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dougwar/subscriptions","organizations_url":"https://api.github.com/users/Dougwar/orgs","repos_url":"https://api.github.com/users/Dougwar/repos","events_url":"https://api.github.com/users/Dougwar/events{/privacy}","received_events_url":"https://api.github.com/users/Dougwar/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T13:42:33Z","updated_at":"2016-12-10T13:42:33Z","body":"Any chances to get Green to work?"}}
{"actor":{"display_login":"Dougwar"}}