Hallo, ich muss eine Pulsweitenmodulation programmieren, für ein Schulprojekt. Es funktioniert aber nicht so ganz wie ich mir das vorstelle.
Ein paar Details:
1) Vielleicht kennt ja wer das Humerboard. 2) Ich hab einen LPC935/LPC936 drauf. 3) Ich will eine RGB-LED ansteuern, was auch zum teil funktioniert.
Mein Problem:
1) Wie vorher schon gesagt, möchte ich gerne eine PWM programmieren wo ich eine RGB-LED ansteuere. Ich schaff es, dass sie leuchtet. ABER jetzt will ich zusätzlich noch mit einem Taster (der sich am Board befindet Port: P1^4) die Farben bestimmen können. Also wenn z.B. die Farbe grün da ist, das die solange heller und dunkler wird bis ich den Taster drücke und dann z.B. die Farbe blau kommt usw.
Vielleicht hat von euch wer eine Idee mit der er mir helfen könnte.
mfg. Pauli
Så exakt vad är ditt problem?
Hur du skall få PWM att fungera?
Eller hur du skall kunna använda en enda knapp för att både styra intensitet och vilken färg du skall visa?
Tycker du det verkar lätt att läsa Svenska? Detta är ett engelskspråkigt forum, så tanken är att folk skriver sina frågor - och får sina svar - på engelska.
So, what exactly is your problem?
How to get the PWM to work, or how to manage with a single button to both control intensity and what color to show?
Why ask in German? Did this look like a german-language forum? Do you think you get better help by using your native language instead of following the forum standard? What languages do you expect all other visitors are using?
Hi,
I'd suggest you should ask your question at www.mikrocontroller.net/ , but be careful with "I whish others to do my homework", because that forum is flooded with such questions at the moment.
--- ich schlage vor, du stellst deine Frage bei www.mikrocontroller.net/ , aber sei vorsichtig, das Forum wird derzeit von Anfragen nach "Wer macht mir meine Hausaufgaben" geflutet.
. BR, /th.
Just a note - Google have quite good translation services, so anyone who don't speak english good enough may get a better result from letting Google translate instead of own translation attempts, or instead of posting non-english posts.
Most people ignores non-english posts...
Just an example of Googles abilities: Nur ein Hinweis - Google haben recht gute Übersetzungen, wer also nicht sprechen Englisch gut genug kann ein besseres Ergebnis aus der Vermietung Google anstatt eigene Übersetzung versucht, oder statt der Entsendung nicht Englisch übersetzen Beiträge zu bekommen.
Die meisten Menschen ignoriert Nicht-Englisch-Beiträge ...
It's worth a try but, especially with technical stuff, doesn't always help.
> instead of own translation attempts LOL, I am a native german speaker :-) And, your google german is funny *smile*
But - you're right. This is an english forum, and we should keep it that way. I just wanted to be helpful.
Yes, the results of Google (and other automatic) translation does vary from "funny" to "incomprehensible".
Unfortunately, as noted above, the results tend more towards the "incomprehensible" end of the spectrum when the content is technical...
:-(
The technology still has a long way to go!
See: www.8052.com/.../174034
Yes, I know it is funny. But at least to me, it is reasonably understandable. We regularly do see posts where the poster manages worse than what Google does.
The important thing is that most readers who see a non-english comment will ignore the thread completely, unless they happen to be able to understand the text as written.
But an even more important factor is that answers written in a non-english language will not be found by Google, making people less interested in giving an answer even if they do speak the specific language.
My comment wasn't directed to you, but to the OP. Google Translate does catch the important information from the original post (I did read the german text first, before checking the result of translating it to english), and would have made this into a regular english thread with regular chances to get help.
Mein Luftkissenfahrzeug ist voller Aale
I will not buy this tobacconist - it is scratched!
2) Ich hab einen LPC935/LPC936 drauf. 3) Ich will eine RGB-LED ansteuern, was auch zum teil funktioniert.
a simple way (describing 4 bit resolution - expand as you want) unblank as selected, time 0.5ms, unblank as selected, time 1ms, unblank as selected, time 2ms, unblank as selected, time 4ms, repeat
example, creating yellow: unblank G, time 0.5ms, unblank G, time 1ms, unblank G, time 2ms, unblank R, time 4ms, repeat
example, creating amber: unblank G, time 0.5ms, unblank R & G, time 1ms, unblank G, time 2ms, unblank R, time 4ms, repeat
Erik
sorry, I just cannot resist, regarding "comprehensibility"
www.youtube.com/watch
and yes, automatic translation is really fun;)))