I'm using a 18m2 for my project (single process).
A call to a subprocedure calls pwmout on the b.3 pin to run an ir led at 38khz.
Processing then returns to main procedure...
Functionality requires an alarm to be activated at some point, following which other processing still takes place with the alarm still on.
As I don't have any more pins with pwm support (which I think would solve this) is there any jiggery pokery that would set off an on/off
alarm while returning flow to main procedure.
I could just turn on the piezo for a continuous tone but this is naff.
Playing silent night is nice but again it pauses process flow so it's not an option.
I'd like the 18m2 to drive everything and want to avoid using an external 555 timer solution for a siren alarm.
Many thanks
A call to a subprocedure calls pwmout on the b.3 pin to run an ir led at 38khz.
Processing then returns to main procedure...
Functionality requires an alarm to be activated at some point, following which other processing still takes place with the alarm still on.
As I don't have any more pins with pwm support (which I think would solve this) is there any jiggery pokery that would set off an on/off
alarm while returning flow to main procedure.
I could just turn on the piezo for a continuous tone but this is naff.
Playing silent night is nice but again it pauses process flow so it's not an option.
I'd like the 18m2 to drive everything and want to avoid using an external 555 timer solution for a siren alarm.
Many thanks