This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Verwenden Sie die Suchfunktion [Strg] + [F] und | |
tippen Sie die ersten Wörter des gesuchten Codes ein, um das gewünschte Programm zu finden */ | |
CREATE DATABASE vereinDB; | |
USE vereinDB; | |
CREATE TABLE mitglieder ( | |
id INT, | |
vorname VARCHAR(20), | |
name VARCHAR(20), | |
telefon INT, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#include <LCD.h> | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); | |
void setup() | |
{ | |
delay(1000); | |
lcd.begin(16, 2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I2C Scanner | |
// Written by Nick Gammon | |
// Date: 20th April 2011 | |
#include <Wire.h> | |
void setup() { | |
Serial.begin (115200); | |
// Leonardo: wait for serial port to connect |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftSerial.h> | |
#include <TinyPinChange.h> | |
SoftSerial bluetooth(2, 3); | |
void setup() { | |
bluetooth.begin(9600); | |
pinMode(0, OUTPUT); | |
pinMode(1, OUTPUT); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> //Nachladen der Servo Bibliothek | |
int ServoPin = 10; //Festlegen des Pins | |
Servo servo; //Erzeugen des Servo Objekts | |
int servoAngle = 0; | |
void setup() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <MFRC522.h> // Nachladen der notwendigen Bibliotheken | |
#define RST_PIN 9 | |
#define SS_PIN 10 // Pinout definieren (siehe Abschnitt Verkabelung) | |
MFRC522 mfrc522(SS_PIN, RST_PIN); | |
byte readCard[4]; // Array zum Abspeichern der UID der gerade gelesenen Karte | |
byte schluessel[4]; // Array zum Abspeichern der UID des Schluessels |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <OneWire.h> | |
#include <DallasTemperature.h> | |
#define ONE_WIRE_BUS 2 //digital Pin 2 des Arduino | |
OneWire oneWire(ONE_WIRE_BUS); //Initialisierung des OneWire Objekts | |
DallasTemperature sensors(&oneWire); //Temperatursensor Objekt | |
void setup(void) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pixels.setPixelColor(7, pixels.Color(0,255, 0)); | |
pixels.show(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pixels.begin(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define PIN 6 | |
#define NUMPIXELS 8 | |
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) | |
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) | |
// NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products) | |
// NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2) | |
// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) |
NewerOlder