Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
// Blink Demo für Billig-Nachbau eines Arduino Micro Pro (32u4) mit USB-C // In der IDE wird Leonardo als Board-Typ genutzt #define LED1 17 #define LED2 30 // the setup function runs once when you press reset or power the board void setup() { // initialize digital pins as an output. pinMode(LED1, OUTPUT); pinMode(LED2, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED1, HIGH); // turn the LED on (HIGH is the voltage level) delay(400); // wait for a second digitalWrite(LED2, HIGH); // turn the LED on (HIGH is the voltage level) delay(400); // wait for a second digitalWrite(LED1, LOW); // turn the LED off by making the voltage LOW delay(400); // wait for a second digitalWrite(LED2, LOW); // turn the LED on (HIGH is the voltage level) delay(400); // wait for a second }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)