View previous topic :: View next topic |
Author |
Message |
mharris27
Joined: 22 Apr 2005 Posts: 15
|
24HJ256GP206 problems with I2C slave |
Posted: Fri Mar 21, 2008 10:41 am |
|
|
Hello all,
For some reason when I insert this #use statement into my code
#use i2c(Slave,sda=PIN_F4,scl=PIN_F5,address=0xa0)
the CCS compiler reports this:
*** Error 99 "LCD_Micro.c" Line 33(5,51): Option invalid Bad Option: SLAVE
I have the PCD complier V4.057
Any ideas?
Mike |
|
|
horkesley
Joined: 20 Feb 2007 Posts: 48 Location: Essex UK
|
Horkesley |
Posted: Sat Mar 22, 2008 7:52 am |
|
|
Hi,
What micro are you using?
Regards, _________________ Horkesley Electronics Limited |
|
|
mharris27
Joined: 22 Apr 2005 Posts: 15
|
|
Posted: Mon Mar 24, 2008 6:39 am |
|
|
I am using the 24HJ256GP206 micro. I upgraded the CCS compiler to the lastest version and that seems to have solved my problem.
Thanks,
Mike |
|
|
|