SHOW MORE SEQUENCE IN PRINT I hate caps lock
This commit is contained in:
parent
1547262a80
commit
7522c20aac
12
main.py
12
main.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user