Hi,
I am not using a hotbed on my Sanguinololu, and I would like to use the spare onboard mosfet to control some lighting. I can use a "M42 P4 S255" to turn on pin 4 on the header board easily enough, but when I edit the pins.h file and disable the hotbed pin (changing it to either -1 or 4), I still can't control pin 12 manually. I have also tried setting pin 12 as the fan pins, but I can't turn it on with fan control either. Any ideas on how to do this?
I notice the hotend and hotbed pins are marked with an exclamation mark, maybe this has something to do with my problem?
Thanks for looking,
David
I am not using a hotbed on my Sanguinololu, and I would like to use the spare onboard mosfet to control some lighting. I can use a "M42 P4 S255" to turn on pin 4 on the header board easily enough, but when I edit the pins.h file and disable the hotbed pin (changing it to either -1 or 4), I still can't control pin 12 manually. I have also tried setting pin 12 as the fan pins, but I can't turn it on with fan control either. Any ideas on how to do this?
+---vv---+ e-dir (D 0) PB0 1| |40 PA0 (AI 0 / D31) ext e-step (D 1) PB1 2| |39 PA1 (AI 1 / D30) ext z-dir INT2 (D 2) PB2 3| |38 PA2 (AI 2 / D29) ext z-step PWM (D 3) PB3 4| |37 PA3 (AI 3 / D28) ext ext PWM (D 4) PB4 5| |36 PA4 (AI 4 / D27) ext spi MOSI (D 5) PB5 6| |35 PA5 (AI 5 / D26) !step-enable-z spi MISO (D 6) PB6 7| |34 PA6 (AI 6 / D25) b-therm spi SCK (D 7) PB7 8| |33 PA7 (AI 7 / D24) e-therm RST 9| |32 AREF VCC 10| |31 GND GND 11| |30 AVCC XTAL2 12| |29 PC7 (D 23) y-dir XTAL1 13| |28 PC6 (D 22) y-setp ftdi RX0 (D 8) PD0 14| |27 PC5 (D 21) TDI x-dir ftdi TX0 (D 9) PD1 15| |26 PC4 (D 20) TDO z-stop ext RX1 (D 10) PD2 16| |25 PC3 (D 19) TMS y-stop ext TX1 (D 11) PD3 17| |24 PC2 (D 18) TCK x-stop !hotbed PWM (D 12) PD4 18| |23 PC1 (D 17) SDA ext !hotend PWM (D 13) PD5 19| |22 PC0 (D 16) SCL ext !step-en PWM (D 14) PD6 20| |21 PD7 (D 15) PWM x-step +--------+
I notice the hotend and hotbed pins are marked with an exclamation mark, maybe this has something to do with my problem?
Thanks for looking,
David