mouse demo program PIC18F4550


Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Mar 2007
    Location
    West Hollywood, CA
    Posts
    38

    Cool mouse demo program PIC18F4550

    USBMOUSE.BAS isn't working with my PIC18F4550.

    I had it working without incident on a PIC16C675, so I'm not sure what I have wrong now.

    The only differnce is that I have a 20MHz crystal on the OSC pins, instead of 6MHz.

    I have a 1.5K resistor from VUSB to D- and GND.

    The descriptor file is set correctly, and I have UCFG_VAL set for low-speed USB.

    Now, I did notice that the demo code has a "DEFINE OSC 48" in it, but I'm using a 20MHz crystal, which the text file said is what th edemo programs are set for.

    Any ideas on what could be wrong?

    I've uploaded my config settings
    Attached Images Attached Images  

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. USB Optical mouse as motor encoder
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 24th August 2008, 15:09
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. need help simulating PS/2 mouse
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th December 2007, 21:49
  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 : 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