Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain code #16

Open
AlexLuik opened this issue Oct 25, 2022 · 0 comments
Open

Explain code #16

AlexLuik opened this issue Oct 25, 2022 · 0 comments

Comments

@AlexLuik
Copy link

Hi friend. I need your help. Can you explain your code https://github.com/lpodkalicki/blog/blob/master/avr/attiny13/011_ir_remote_38khz_nec_to_control_leds/main.c
to me. How do you think the value of OCR0A is? How did you calculate the value of IR_data 90 cycles? Where did the timeout= 7400 come from? And why is the value of counter++ in the ISR function > 10000? Please answer if it's not difficult for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant