Code of arduino of Rostock V1
Posted: Fri Apr 24, 2015 8:29 pm
Hello all, we are facing the wrong code, can any designer help fix this. The wrong code information is below:
Arduino:1.6.3 (Windows 8.1), 板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Extruder.cpp:32:1: error: 'prog_char' does not name a type
prog_char ext0_select_cmd[] PROGMEM = EXT0_SELECT_COMMANDS;
^
Extruder.cpp:33:1: error: 'prog_char' does not name a type
prog_char ext0_deselect_cmd[] PROGMEM = EXT0_DESELECT_COMMANDS;
^
Extruder.cpp:72:4: error: 'ext0_select_cmd' was not declared in this scope
,ext0_select_cmd,ext0_deselect_cmd,EXT0_EXTRUDER_COOLER_SPEED,0
^
Extruder.cpp:72:20: error: 'ext0_deselect_cmd' was not declared in this scope
,ext0_select_cmd,ext0_deselect_cmd,EXT0_EXTRUDER_COOLER_SPEED,0
^
Arduino:1.6.3 (Windows 8.1), 板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Extruder.cpp:32:1: error: 'prog_char' does not name a type
prog_char ext0_select_cmd[] PROGMEM = EXT0_SELECT_COMMANDS;
^
Extruder.cpp:33:1: error: 'prog_char' does not name a type
prog_char ext0_deselect_cmd[] PROGMEM = EXT0_DESELECT_COMMANDS;
^
Extruder.cpp:72:4: error: 'ext0_select_cmd' was not declared in this scope
,ext0_select_cmd,ext0_deselect_cmd,EXT0_EXTRUDER_COOLER_SPEED,0
^
Extruder.cpp:72:20: error: 'ext0_deselect_cmd' was not declared in this scope
,ext0_select_cmd,ext0_deselect_cmd,EXT0_EXTRUDER_COOLER_SPEED,0
^