AnHardt / Marlin

Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu
GNU General Public License v3.0
1 stars 1 forks source link

CONTINUE_BUTTON #47

Closed AnHardt closed 7 years ago

AnHardt commented 8 years ago

CONTINUE_BUTTON defines a button for user interaction in case you have no display or panel. To continue in a M0/M1, filament change, ... When a BEEPER_PIN is defined beeps for one second. Lights a LED while waiting if LED_PIN is defined.

wait_for_user(millis_t until) is the central function. It waits ms milliseconds or until a button is clicked. The button is ether the click-button of a panel, or the newly introduced CONTINUE_BUTTON.

Example for the usage is M0/M1.