Jump to content

gclarkii

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About gclarkii

  • Rank
    Newbrie
  1. Hello, In the file p16f818.h there are two entries for 0x0002 for INTCON. The second one is T0IF which does NOT exist in PIC16F818.TDF or in the 16F818 datasheet. There is also a duplicate entry for 0x0005, T0IE. Is there is a reason to have both? Also, for whatever reason, the compiler does NOT like it if I use the second entries instead of the TMR versions. They both should be replaced by 0x0002 or 0x0005 before the compiler ever sees them. It is reporting the following: gbtest.c(11): error: unknown identifier "T0IE" gbtest.c(11): error: invalid operand T0IE gbtest.c(11):
×
×
  • Create New...