Hi all,
I'm using a PIC16F1939 to control a RTC chip with I2C. I'm using PBP2.60. The 16F1939 has 16384 words of programming memory. So whenever I compile the big program that I'm playing with I get the normal message,
Everything good so far. So, whatever code I add to my program I get the above "Crossing page boundary...." messages. Now, if I add these lines of code,
Then, I always get the following messages,Code:SYMBOL SCL = PORTC.3 'EEPROM CLOCK PIN SYMBOL SDA = PORTC.4 'EEPROM DATA PIN ADDRESS VAR BYTE CONTROL VAR BYTE: CONTROL = %11011111 WRITE_VAR = %01000000 'I2CWRITE SDA, SCL, %11011111, $07, [WRITE_VAR] ADDRESS = $07 I2CWRITE SDA, SCL, CONTROL, ADDRESS, [WRITE_VAR] PAUSE 10
The program seems to be working fine. But, I have no idea why I get this "1183 : Crossing page boundary..." message only when I use the I2CWRITE. I'm pulling my hair out trying to figure this out. Any help will be greatly appreciated.
Thank you,


 
						
					 
			 
			 
			 
					
					 I2CWRITE Issue at Compiling Time
 I2CWRITE Issue at Compiling Time
		 
				
				
				
				
			

Bookmarks