• PicŪ Basic


  • Decoding Morse Code in Proton Basic

    by Mark Rodgers G0EBB
    The above circuit uses a PICŪ 18F452. The Diagram is shown with a GLCD but I have included software for an LCD also, the relevant point is the connection of the key/button to the PICŪ, it can easily be changed to any pin you like and the code should work on most PICŪ chips. Read the notes in the programs for more details.
    This project was undertaken to see if I could work out how to decode this language digitally instead of in my head, the software is written totally in Proton Basic and is not really a good example of slick coding but I have used it as an exercise in reducing a problem to its constituent parts and figuring out how to deal with them. The comments should help to figure out how I was thinking when I was writing each line.
    All Morse characters are catered for and some punctuation etc. The details of the characters and conventions of Morse are detailed in "morse.txt" which is part of this package.
    I have found if you send bad Morse it will display bad Morse! If you try it you will find that the PICŪ is often better than you!
    NOTE: the key contacts must be clean as it is easy to get bad characters because of dirty contacts.

    Included Files

    GLCD_morse_1.basThe program to work on a Graphic DisplayLCD_morse_1.bas The program to work on an Alphanumeric Displaymorse.txtInfo about Morse Code(taken from KENT MORSE KEYS) I hope some of you try it!
    73 de Mark Rodgers G0EBB.

    About the Proton Compiler

    Crownhill's Proton Plus Compiler is a part of the Proton Development Suite - A suite of British-developed applications enabling fast development of PICŪ micro's using the PICŪ BASIC Language.
    For more information on the Proton Development Suite, please visit www.picbasic.org
  • Recent Activity

    John Drew-26

    Microsoft security essentials blues

    Thread Starter: shantanu@india

    Hi, A strange thing happened just now.My Windows 7 Micrsoft Sercurity Essentials suddenly gave a warning that prplus.exe(Compiler) is a potential...

    John Drew Yesterday, 08:55 Go to last post
    John Lawton-121

    SPI mssp

    Thread Starter: picprotonguy

    Just ordered Digital to Analog IC MCP4822 with SPI interface and immediately opened proton manual. I'm very disappointed, it looks like Proton...

    John Lawton Yesterday, 11:32 Go to last post
    John Drew-26

    IR Sensor Codes in Proton IDE

    Thread Starter: Mesgu

    Hello guys can someone help me plsssss... How to write a codes for IR sensor in proton ide? given: Transmitter = portb.1 Receiver = portb.0 Led...

    John Drew Today, 03:12 Go to last post
    picprotonguy-1827

    working weird

    Thread Starter: rverm

    Device = 18F2220 Xtal 4 TRISA = 111 TRISB = 0 TRISC = 0 Declare CCP1_Pin PORTC.2 ' Select Hpwm port and bit for CCP1 module. 'Declare CCP2_Pin...

    picprotonguy Yesterday, 08:03 Go to last post
    mhanley-1294

    18F47J13 or 18F47J53 Definition Files

    Thread Starter: mhanley

    Hi, I want to use either the 18F47J13 or 18F47J53 but Proton does not have a definition file for either micro. I need the extra program...

    mhanley Yesterday, 09:57 Go to last post