Little "monitor" program


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default Little "monitor" program

    This is a "Monitor" program that
    will READ/WRITE any pin on an 18F8720,18F8720 or
    18F8723. It is set up to work with either a 10MHz
    crystal and a X4 PLL (40Mhz) or a simple crystal
    at 20MHz. The device configuration registers are
    read to determine the mode (PLL running or not)
    and the chip type. It uses the hardware serial
    port, so it needs a MAX232 or equiv.
    9600 is used as the baud rate regardless of
    whether the chip is running at 20 or 40Mhz.
    Vref is set at 4.096V in this hardware, and that
    figure is used to convert the COUNTS to volts.
    The 8723 has a 12-bit A/D, but that is accounted
    for.

    If an 'S' is pressed when the port is being
    requested, you are asked to enter the PWM freq
    The UP and DOWN arrows on the
    keyboard change the PWM value. CCP1 is used as
    the PWM output. <ESC> breaks out of most routines.
    All PAUSES are correct regardless whether it is
    running at 20 or 40 Mhz.

    Many thanks to Darrel Taylor
    Charles Linquist

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Didn't have attachment. Here it is.
    Attached Files Attached Files
    Charles Linquist

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Replies: 1
    Last Post: - 23rd May 2009, 09:22
  3. Compile and Program help using PICKit2
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th March 2009, 14:51
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 14:30

Members who have read this thread : 1

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