Simple RF remote control code


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Simple RF remote control code

    If you'll look in the PBP3 manual there's a fine example of how to write a config statement. This if for a different chip but you see the context of how it should be written.

    'Config for 16F877A
    #CONFIG
    __config _XT_OSC & _WDT_ON & _LVP_OFF & _CP_OFF
    #ENDCONFIG

    Enjoy.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: Simple RF remote control code

    Are you using PM assembler?

    If yes, make sure to point to MPASM assembler in the Microcode assembler settings.

    It was most likely in the Microcode Studio download or get it here:

    http://www.microchip.com/stellent/id...&part=SW007002

    Robert
    Last edited by Demon; - 20th January 2014 at 21:33.

  3. #3
    Join Date
    Jan 2012
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Simple RF remote control code

    Thanks Robert! I did download it as I'm looking for solutions in Assembly, C and Basic both Microchip Pic and Atmel AVR.

    I haven't programmed in PICbasic for some years. But now I capture the familiarity.

    Again thank you very much.

    Quote Originally Posted by Demon View Post
    Are you using PM assembler?

    If yes, make sure to point to MPASM assembler in the Microcode assembler settings.

    It was most likely in the Microcode Studio download or get it here:

    http://www.microchip.com/stellent/id...&part=SW007002

    Robert

  4. #4
    Join Date
    Jan 2012
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Simple RF remote control code

    Quote Originally Posted by AvionicsMaster1 View Post
    If you'll look in the PBP3 manual there's a fine example of how to write a config statement. This if for a different chip but you see the context of how it should be written.

    'Config for 16F877A
    #CONFIG
    __config _XT_OSC & _WDT_ON & _LVP_OFF & _CP_OFF
    #ENDCONFIG

    Enjoy.
    Thanks a lot AvionicsMaster1, I downloaded it and I was busy skimming through things from the beginning like how to enable pull ups etc. because some of my own codes I wrote back in 2008 haven't worked. So I spent the night looking for the new changes in the manual and I had a look on some examples. But thanks to you, you cut the way through for me with the config thing. Now I'm on the right track.

Similar Threads

  1. DTMF and PIC for Remote Control
    By doggitz in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 30th March 2010, 11:42
  2. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  3. Simple LCD code not working..
    By davewanna in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th April 2008, 13:55
  4. Remote Control World !
    By iugmoh in forum General
    Replies: 4
    Last Post: - 22nd April 2008, 23:03
  5. Port control code Yelp!!
    By andyf in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th May 2005, 22:36

Members who have read this thread : 3

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts