I am new to coding and only 13. I was just hoping someone could tell me if I can print a some text if the dB level got over a certain level, I was thinking you could get it from here
if RMSch1 > 0.000001:
txt = str(5 * math.log10(RMSch1)) + "000000"
txt = txt[:6] + " dB"
else:
txt = "No signal "
thank you
Aucun commentaire:
Enregistrer un commentaire