You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Soso, einfacher wird das Meinen wir beide das gleiche "einfach"?Mit 'nem ATtiny10 wirds noch einfacher.
This post has been edited 1 times, last edit by "drdeath" (Feb 24th 2017, 10:46pm)
Ja, ich auch. Aber ich behaupte trotzdem: Selbst wenn wir beide das um die Wette betreiben, hab ich trotzdem vor dir ein PWM-Signal wenn ich's per 555er mache und du per Attiny. Aber Egal.Ich(!)
Aber ich behaupte trotzdem: Selbst wenn wir beide das um die Wette betreiben, hab ich trotzdem vor dir ein PWM-Signal
Source code |
|
1 2 3 4 5 6 |
ldi R16, T0Ov out OCR0AL, R16 ;Reichweite ldi R16, (1<<COM0B1)|(1<<WGM01)|(1<<WGM00) out TCCR0A, R16 ;KanalB PWM, WGM=15 ldi R16, (1<<WGM03)|(1<<WGM02)|(1<<CS00) out TCCR0B, R16 ;Presc=1, WGM=0, Timer laeuft |
Source code |
|
1 2 3 |
.equ F_MCU=8000000 .equ Baud=4800 .equ T0Ov=(F_MCU/(Baud*8))-1 |
This post has been edited 1 times, last edit by "drdeath" (Mar 3rd 2017, 8:44pm)
-