on attiny85 chip, how to control servo motor with IR sensor?

hi

i would like to know the coding which is to control servo motor for using IR sensor on attiny85 chip.

i can do with arduino but attiny85 is not same as it.

what i want to control is simple

press button (0x01FE847B) to move servo motor 180 degree
press button (0x01FE44BB)to move servo motor 0 degree


https://photo.cloud.naver.com/v2/#

please help me

kclook (author) 3 months ago

setting like this under pic

attiny85 + ir + servo motor_bb.jpg