PIC's ports individual bits manipulation - how to?


Results 1 to 39 of 39

Threaded View

  1. #21
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Well it's actually pretty simple once you know how.

    Start a new project using the usual method, then Select MPLAB Sim and compile your code.

    Go to View> Watch, right to Add Symbol chose the variable you want to monitor and add them in the list.

    If you want to monitor a PORT ouput, you go on the Add SFR side.

    Once done, press f9 and enjoy the show.

    If you have some PAUSE, PAUSEUS in your code... comment them.

    You can use and create your Code in MPLAB and use the animate mode... it works. You just need to install properly the MPLAB plug-in. Easier to figure out than the .ASM file.

    Today i notice that Microchip have added the VSM plug-in. I need to laugh and waste some time... i'll try it...
    Last edited by mister_e; - 25th February 2007 at 23:07.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 08:55
  2. Individual Variable bits
    By tazntex in forum General
    Replies: 4
    Last Post: - 31st January 2008, 19:27
  3. Equating Ports to Data Bits
    By Osiris in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd March 2006, 16:00
  4. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 15:31
  5. pics with 3 hardware PWM ports
    By CBUK in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th August 2004, 01:14

Members who have read this thread : 0

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