??? 10/04/04 21:44 Read: times |
#78728 - RE: MORSE not working Responding to: ???'s previous message |
hey,
I'm sorry I was a bit frustated. I did work out a lot of problems, and can now specify the problem. Somehow th conversion from packed morse to dashes and dots goes wrong. I tried to send out the next code: "S O S " what should give "...*---*...**" (space come out as *)and got back this reslult: ...*-.....-..*-........*-.....*-..... if I transalte this it means: "S ? ? ? ?" so in the beginning things go well, but what goes wrong? the 'unpacking' code goes as shown: M_SEND ; mov R2, #07H ; init bit pointer SEEK RL A ; dec R2 ; Update bit pointer jnb ACC.7, ST_BIT ; If bit is '0', got it! sjmp SEEK ; Go back to find start bit ST_BIT RL A ; Get element jnb ACC.7, DOT ; If a 0, send dot else sent dash acall TX_DASH djnz R2, ST_BIT ret DOT acall TX_DOT djnz R2, ST_BIT ret TX_DASH and TX_DOT actually send the das or dot... greetz Jeron |
Topic | Author | Date |
MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
Step-by-Step | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working | 01/01/70 00:00 | |
RE: MORSE not working![]() | 01/01/70 00:00 |