#1880 [PIC14] 16f628[a] missing bits from header

open
nobody
PIC14
5
2013-07-16
2011-11-27
Gál Zsolt
No

I got this message from the compiler today:

main.c:101: Hiba26: '_TRISA6' not a structure/union member
main.c:108: Hiba26: '_TRISA7' not a structure/union member
main.c:109: Hiba26: '_RA7' not a structure/union member
main.c:169: Hiba26: '_RA6' not a structure/union member

The 16f628 device has PORTA6 and PORTA7 i/o ports and corresponding register bits also. Bit definitions are missing for those pins in the header file.
I attahed a diff file for correct it.

Discussion

  • Gál Zsolt

    Gál Zsolt - 2011-11-27
     
  • Gál Zsolt

    Gál Zsolt - 2011-11-27
     
  • Philipp Klaus Krause

    • Category: --> PIC14
     

Log in to post a comment.