??? 04/16/09 15:12 Read: times |
#164667 - Runtime of LCALL... Responding to: ???'s previous message |
Chico said:
in fabrication of mark
MOV TEMP,#4 shouldnt be MOV TEMP,#8 ? Don't forget the runtime of LCALL... Chico said:
Also:
MOV SBUF,#0 ;send START-byte ;Wouldnt be nicer to make the MIDI verification here? JNB TI,$ ;byte sent? CLR TI ;prepare UART for next sending MOV TEMP,#4 DJNZ TEMP,$ ;2 stop bits >= 8µsec Should also work. But take note, that in my code the LCALL runtime is used to fabricate the second stop bit. Kai |