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(' ')
|
printm(' ')
|
||||||
|
|
||||||
#print(" duration of inter-m space ", d)
|
#print(" duration of inter-m space ", d)
|
||||||
if d < rate*3:
|
#if d < rate*3:
|
||||||
print (" ")
|
#print (" ")
|
||||||
else:
|
#else:
|
||||||
print (" ipi ")
|
#print (" ipi ")
|
||||||
mindex += 1;
|
#mindex += 1;
|
||||||
beeper.playTone(600)
|
beeper.playTone(600)
|
||||||
button_state = 1
|
button_state = 1
|
||||||
morse_state = 1 # button down
|
morse_state = 1 # button down
|
||||||
@ -108,7 +108,7 @@ def printm(mchar):
|
|||||||
else:
|
else:
|
||||||
oled.displayText(' ', i, j*6)
|
oled.displayText(' ', i, j*6)
|
||||||
oled.show()
|
oled.show()
|
||||||
print(mchar);
|
print(mchar, morse);
|
||||||
|
|
||||||
def decode_morse():
|
def decode_morse():
|
||||||
global morse
|
global morse
|
||||||
|
Loading…
Reference in New Issue
Block a user