Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Morse Code using PIC18F252 ASM code

Status
Not open for further replies.

vins5

Newbie level 1
Newbie level 1
Joined
Dec 11, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Lebanon
Visit site
Activity points
1,289
hey there,

i have my first microprocessor project at uni, and its about building a simple Morse Code using a PIC18F252 writing it in ASM
The main idea is the type a letter at the Hyperterminal and transmit it to an LED blinking light
for example:the letter A which is ( .-) the LED should blink once then 3 times in a row, so it would be like 10111 ( 1->the LED is on 0->its off)

so if anyone can help me with that , im finding a problem with using the timer to Blink the LED according to the letter written on the terminal

thank you.
 

Hi,

You can use a Timer to create the dash and dot delays, but three software delays would also work.

Send Dash
Turn on Led
Delay Dash
Turn Off led
Standard Pause
Send Dot
etc

You cannot send the dash and dots out as you said, you need to send them out as a long Dash flash and standard off period and a short Dot flash


You should find help with Assembly on these sites

http://www.winpicprog.co.uk/pic_tutorial.htm
**broken link removed**
**broken link removed**
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top