Added coolant control (M7*, M8, M9). Mist control can be enabled via config.h.

- Added coolant control! Flood control (M8) functions on analog pin 0.
Mist control (M7) is compile-time optional and is on analog pin 1. (Use
only if you have multiple coolants on your system). Based on work by
@openpnp.

- Fixed some variable assignments in spindle control.
This commit is contained in:
Sonny Jeon
2012-09-21 11:14:13 -06:00
parent 7eb85de821
commit 420c7c2584
8 changed files with 128 additions and 7 deletions

View File

@ -24,7 +24,7 @@
#include <avr/io.h>
void spindle_init();
void spindle_run(int direction, uint32_t rpm);
void spindle_run(int8_t direction, uint16_t rpm);
void spindle_stop();
#endif