Kijken

 

 

Buzzer

#include <Ultrasonic.h> Ultrasonic ultrasonic(6,5);// 6 trig , 5 echo const int buzzer = 7; // pin buzzer void setup(){ pinMode(buzzer,OUTPUT); } void loop(){ int dist = ultrasonic.Ranging(CM); if (dist <…

Laser

int laserPin = 10; void setup () { pinMode(laserPin, OUTPUT); } void loop () { digitalWrite(laserPin, HIGH); delay(100); digitalWrite(laserPin, LOW); delay(100); }

Meerkleurige LCD

/*Interfacing RGB LED with Arduino * Author: Electrofun * For more information visit us: www.electrofun.co.in * Video explanation at: https://www.youtube.com/playlist?list=PLnDLZy2UodwHt3Z8bD6V8lsegmc2yGuMP */ //Defining variable and the GPIO pin on Arduino int…

Stopwatch

/* Bas on Tech – Arduino tutorial https://arduino-lessen.nl PIN AANSLUITINGEN LCD SDA is serial data SCL is serial clock GND –> GND (wit) VCC –> 5V (grijs) SDA –> A4…

Tags: geen tags

Reacties zijn gesloten.