Skip to content

Explain code  #16

@AlexLuik

Description

@AlexLuik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions