blob: c7de3c6a56c09e69dbab6542bd12f99687ffe3cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
== Various Arduino Snippets
Every now and then I create a small Arduino (test) project. I think I should
publish the stuff here — this is mostly cargo cult code that has been hammered
into some semi-working form.
=== lighting/
==== strobe.ino
The code behind my https://xenoworld.de/2017/01/18/blink.html[fluorescent light demo].
=== tinyhouse.ino
Quick hack for some soothing orange light put into a tiny desk-top house made
of clay
=== humidity-led-indicator/
Code for a small project which uses a humidity sensor (DHT22) and an
APA102-RGB-LED to indicate if the current humidity is in an acceptable range.
*red* means it is too dry, *blue* means it is too humid, everything else is
something between yellow-orange and green.
It would also switch off the LED if it was too dark in the room, so it would
not annoy me at night.
At some point I will polish that code and move the whole thing from breadboard
to a more fixed setup. All components are here, but I haven't gotten around to
doing it yet. I'm targeting some ATTiny, though.
The original file name was `sketch_humidity_cargo_cult.ino`, so take that into
account…
|