Migrating PIC16F876a to PIC18F252


Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Jun 2007
    Posts
    2

    Default Migrating PIC16F876a to PIC18F252

    Using PicBasic Pro 2.43 I've migrated from a PIC16F876a to PIC18F252 to take advantage of additional code space.

    The PIC18F252 seems to always find the following statment to be TRUE regardless of the magnitudes of the values, i.e.:

    IF (frequency < threshold) THEN GoTo main

    Elsewhere, in my code, the variables "frequency" and "threshold" are functioning properly when manipulated mathmatically; however, the IF ( ) THEN statements are not fully reliable.

    Has anyone had experience such as this?

    Thank you,
    Jeff
    Last edited by cohenjdc; - 1st June 2007 at 13:08.

Similar Threads

  1. Problem with ASM IRQ using FSR0 on PIC18F252
    By mytekcontrols in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 11th March 2008, 20:48
  2. Runing a PIc16F876A
    By lerameur in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 7th January 2007, 12:54
  3. pic18f252 hserout problem
    By edysan in forum Serial
    Replies: 4
    Last Post: - 16th June 2006, 20:46
  4. PLEASE HELP ME! pic16f876a and AD tlc4541
    By luca_sheva in forum mel PIC BASIC
    Replies: 1
    Last Post: - 1st February 2005, 17:32
  5. how to get PCF8574 and PIC16F876A work together
    By nomada in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th December 2004, 02:07

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