Is that really the whole thing, just without the variables? I am new to MCU so I wouldn't know... Just a couple questions on that code...
What are TR1 TF1 TH1 TL1 and LED?
What does SpkPort = !SpkPort do?
So, if I understand correctly what this does, is loop the switch until one case is satisfied, break and output to whatever the speaker port pin is in some sort of PWM type deal?
What are TR1 TF1 TH1 TL1 and LED?
What does SpkPort = !SpkPort do?
So, if I understand correctly what this does, is loop the switch until one case is satisfied, break and output to whatever the speaker port pin is in some sort of PWM type deal?
Last edited: