adding arduino examples for DHT11, blink, and temperature sensor
This commit is contained in:
1 parent
492b275595
commit
a2882a5bff
26 files changed
+1129
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
void setup() {
|
||||
pinMode(LED_BUILTIN, OUTPUT); // GPIO 25
|
||||
}
|
||||
|
||||
void loop() {
|
||||
digitalWrite(LED_BUILTIN, HIGH); // Turn LED on
|
||||
delay(3000); // Wait 1 second
|
||||
digitalWrite(LED_BUILTIN, LOW); // Turn LED off
|
||||
delay(1000); // Wait 1 second
|
||||
}
|
||||
Reference in new issue
Block a user