SHOW MORE SEQUENCE IN PRINT I hate caps lock

This commit is contained in:
Robin Clark 2022-08-03 21:41:54 +01:00
parent 1547262a80
commit 7522c20aac

12
main.py
View File

@ -61,11 +61,11 @@ def ButtonB_f_IRQHandler(pin):
printm(' ')
#print(" duration of inter-m space ", d)
if d < rate*3:
print (" ")
else:
print (" ipi ")
mindex += 1;
#if d < rate*3:
#print (" ")
#else:
#print (" ipi ")
#mindex += 1;
beeper.playTone(600)
button_state = 1
morse_state = 1 # button down
@ -108,7 +108,7 @@ def printm(mchar):
else:
oled.displayText(' ', i, j*6)
oled.show()
print(mchar);
print(mchar, morse);
def decode_morse():
global morse