Ufo nightlight shell and stand

Ufo nightlight shell and stand

prusaprinters

<pre><code class="language-plaintext"> int dit=250; int longW=500; int redLED=11; int blueLED=10; int greenLED=9; long readUltrasonicDistance(int triggerPin=13, int echoPin=12) { pinMode(triggerPin, OUTPUT); // Clear the trigger digitalWrite(triggerPin, LOW); delayMicroseconds(2); // Sets the trigger pin to HIGH state for 10 microseconds digitalWrite(triggerPin, HIGH); delayMicroseconds(10); digitalWrite(triggerPin, LOW); pinMode(echoPin, INPUT); // Reads the echo pin, and returns the sound wave travel time in microseconds return pulseIn(echoPin, HIGH); } void setup() { pinMode(12, INPUT); pinMode(LED_BUILTIN, OUTPUT); pinMode(13, OUTPUT); pinMode (11,OUTPUT); pinMode (10,OUTPUT); pinMode (9,OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalRead(12); 0.01723 * readUltrasonicDistance(12, 12); digitalWrite(LED_BUILTIN, HIGH); delay(10); // Wait for 10 millisecond(s) digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW);digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW); digitalWrite(LED_BUILTIN, LOW); digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW);digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW); digitalWrite(LED_BUILTIN, LOW); digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW);digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW); digitalWrite(LED_BUILTIN, LOW); digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW);digitalWrite (greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(dit); digitalWrite (redLED, LOW); delay(longW); digitalWrite (blueLED, LOW); delay(dit); digitalWrite(greenLED, HIGH); delay(dit); digitalWrite (redLED, HIGH); delay(longW); digitalWrite (blueLED, HIGH); delay(dit); digitalWrite(greenLED, LOW); delay(longW); digitalWrite (redLED, LOW); delay(dit); digitalWrite (blueLED, LOW); delay(longW); digitalWrite(LED_BUILTIN, LOW); delay(100); // Wait for 1000 millisecond(s) } arduino code for light and motion sensor(do not coppy this with the code)</code></pre><p>&nbsp;</p>

Download Model from prusaprinters

With this file you will be able to print Ufo nightlight shell and stand with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Ufo nightlight shell and stand.