Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Both sides previous revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
projects:ehaserl [2012/02/18 23:01] skruppy |
projects:ehaserl [2012/09/19 01:18] (aktuell) wanda |
||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
coordinators : [[:users:wanda:]], [[:users:samaki:]] | coordinators : [[:users:wanda:]], [[:users:samaki:]] | ||
confidants : [[:users:skruppy:]] | confidants : [[:users:skruppy:]] | ||
- | state_tags : never ending | + | state_tags : working, in progress |
type_tags : elektro, software, AVR, ehaserl, C | type_tags : elektro, software, AVR, ehaserl, C | ||
---- | ---- | ||
Zeile 56: | Zeile 56: | ||
== leds == | == leds == | ||
* RR - Pin 12 - PD6 (Rot rechts) | * RR - Pin 12 - PD6 (Rot rechts) | ||
- | * RL - Pin 15 - PB1 (Rot links) | + | * RL - Pin 15 - PB1 (Rot links) - PWM möglich |
- | * GL - Pin 16 - PB2 (Grün links) | + | * GL - Pin 16 - PB2 (Grün links) - PWM möglich |
* GR - Pin 17 - PB3 (Grün rechts) | * GR - Pin 17 - PB3 (Grün rechts) | ||
{{::leds.png?300|}} | {{::leds.png?300|}} | ||
Zeile 69: | Zeile 69: | ||
* LIGHT - Pin 24 - PC1 | * LIGHT - Pin 24 - PC1 | ||
===== C-Programme: Wie macht Fisch eigentlich... ===== | ===== C-Programme: Wie macht Fisch eigentlich... ===== | ||
- | === Töne mit dem Piezo === | + | ==== Töne mit dem Piezo ==== |
Infos sind aus: http://www.infolexikon.de/blog/atmega-music/ | Infos sind aus: http://www.infolexikon.de/blog/atmega-music/ | ||
\\ | \\ | ||
Zeile 118: | Zeile 118: | ||
http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial#PWM_.28Pulsweitenmodulation.29\\ | http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial#PWM_.28Pulsweitenmodulation.29\\ | ||
http://www.arduino.cc/en/Tutorial/PlayMelody | http://www.arduino.cc/en/Tutorial/PlayMelody | ||
+ | ==== LED-Fading ==== | ||
+ | Weil im eHaserl eine PWM nur an den beiden Augen möglich ist - nicht beim Piezo. |