View Single Post
  #7   Spotlight this post!  
Unread 06-12-2003, 22:01
Dave... Dave... is offline
Registered User
#0005 (Robocards)
 
Join Date: Aug 2001
Location: AFL/MHS Melvindale, MI
Posts: 64
Dave... will become famous soon enough
Re: EduBot and USART ports

Quote:
Originally Posted by Rickertsen2
Yes, i have some experience with the USARTs. What kind of sensors are you using?
We're trying to use a digital compass (available from Digikey) Honeywell model HMR3100. See the datasheet at: http://www.magneticsensors.com/products.html

The ini_aliases.h header file has the following line:
#define usart2_RX PORTGbits.PORTG2
However, whenever I try to build the project with "usart2_RX" in my user code, I receive the following error:
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\EduCode\user_routines.c:328:Error [1205] unknown member 'PORTG2' in '__tag_43'
Does anyone know what "unknown member" or "__tag_43" means and how I can resolve this issue?
__________________
"...don't worry about that mechanical problem, Dave can fix it in the programming..."