Preferences , 3D Visualization , Lights
Hi I am geeking out my machine.
I was trying to understand how to add lights to repetier. I found this section in the preferences. how do you leverage this ? Is it for physical lights ?
This is what I have and it works outside of repetier (tested the physical setup)
I have this
http://www.ebay.com/itm/301357646243?_trksid=p2057872.m2749.l2649&ssPageName=STRK:MEBIDX:IT
and these
they are connected to ports D0,D1 and D57 and run correctly using this simple code. I wanted to control them in repetier (like when its heating cooling etc)
again any help is always appreciated.
id setup() {
pinMode(1, OUTPUT);
pinMode(0, OUTPUT);
pinMode(57, OUTPUT);
} void loop() {
digitalWrite(1, HIGH);
digitalWrite(0, LOW);
digitalWrite(57, LOW);
delay(2000);
digitalWrite(1, LOW);
digitalWrite(0, HIGH);
digitalWrite(57, LOW);
delay(2000);
digitalWrite(1, LOW);
digitalWrite(0, LOW);
digitalWrite(57, HIGH);
delay(2000); }
Comments
None of this is actually useful during a print. it is helpful if you are hearing impaired (or watching on a webcam). Visually signaling that something has occurred. (I'm doing it because I am a geek and wanted to see if I could)
I should have been more specific on my question. a wait x milliseconds then resume. The G4 command is exactly what I was looking for. My lighting scripts run before\after printing occurs so a pause is not an issue. I am leveraging scripting in both sclic3r and Repetier host. My plan is I could add flashing or sequenced lights in these scripts ( on, pause x miliseconds, off, pause x miliseconds, on ...........)
Thanks