Weird PWM Behaviour on 16F1825


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: Weird PWM Behaviour on 16F1825

    Quote Originally Posted by RossWaddell View Post
    ... Could it be that with additional code lines somehow the chip isn't being completely erased before re-programming so the EEPROM variable is some number > 255?

    What if you display the eeprom value to an LCD or send it out to PC via RS232?

    It would help to eliminate that as the source of your problem.

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


    Did you find this post helpful? Yes | No

    Default Re: Weird PWM Behaviour on 16F1825

    Ross, what about your Program settings?

    Name:  meLabs_Prg_Settings.JPG
Views: 1259
Size:  76.6 KB

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Weird PWM Behaviour on 16F1825

    I have the same settings except I also have the 'User ID' checked/enabled.

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Weird PWM Behaviour on 16F1825

    Problem resolved. I was updating DT_INST-14.bas directly for different chips based on instructions for earlier versions of the file; now that I've downloaded the latest version and added the variables to my main program as needed, it seems to work fine.

Similar Threads

  1. Config & Oscon settings 16F1825
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th July 2020, 17:18
  2. Interrupt On Change Question on 16F1825
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd August 2012, 05:05
  3. Convert Rotary Encoder Code from 16F628A to 16F1825
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 7th June 2012, 04:34
  4. PBP3 Support HPWM on CCP3/CCP4 (16F1825)?
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd June 2012, 01:37
  5. odd 2550 behaviour
    By f_lez in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 7th November 2006, 09:03

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