Hello everyone
How recorder your own message in the command "tune" that I can insert into a program.
I want to make the message that says: "remember to turn on the lights"
This is an example but not the message I want
' ****** command *****
let dirsB = %10110000 ; switch pins 0 and 1 to outputs
let dirsC = %11000011 ; switch pins 0 and 1 to outputs
main:
let pinsb =%00000000 ' switch all LEDs off
let pinsc =%00000000 ' switch all LEDs off
if pinb.0 = 1 then seks ' test switch
goto main
seks:
let pinsB = %10100000 ' show LEDs for 5
let pinsC = %11000011
tune 0, 5,($62,$62,$22,$67,$67,$27,$66,$67,$69,$6B,$40,$69,$2B,$6C,$40,$02,$44,$40,$6B,$67,$29,$E7,$42,$42,$02,$47,$47,$07,$46,$47,$49,$4B,$50,$49,$CB,$12,$69,$6B,$00,$4B,$50,$12,$54,$50,$4B,$47,$09,$C7,$66,$66,$26,$6B,$6B,$2B)
goto main
How recorder your own message in the command "tune" that I can insert into a program.
I want to make the message that says: "remember to turn on the lights"
This is an example but not the message I want
' ****** command *****
let dirsB = %10110000 ; switch pins 0 and 1 to outputs
let dirsC = %11000011 ; switch pins 0 and 1 to outputs
main:
let pinsb =%00000000 ' switch all LEDs off
let pinsc =%00000000 ' switch all LEDs off
if pinb.0 = 1 then seks ' test switch
goto main
seks:
let pinsB = %10100000 ' show LEDs for 5
let pinsC = %11000011
tune 0, 5,($62,$62,$22,$67,$67,$27,$66,$67,$69,$6B,$40,$69,$2B,$6C,$40,$02,$44,$40,$6B,$67,$29,$E7,$42,$42,$02,$47,$47,$07,$46,$47,$49,$4B,$50,$49,$CB,$12,$69,$6B,$00,$4B,$50,$12,$54,$50,$4B,$47,$09,$C7,$66,$66,$26,$6B,$6B,$2B)
goto main