View Single Post
  #5   Spotlight this post!  
Unread 15-03-2009, 22:01
skiz skiz is offline
Registered User
no team
 
Join Date: Mar 2009
Location: Singapore
Posts: 5
skiz is an unknown quantity at this point
Re: MPLAB error segment

what if its array instead of a text string? for example:
Code:
int delay_addr[]= {9000,4500,560,560,560,1690,560,1690,560,560,560,560,560,560,560,560,560,1690,560,1690,2250,560,560,560,1690,560,560,560,1690,560,1690,560,560};	//0x61d6
int delay_cmd1[]= {560,560,1690, 560,1690,560, 560,560,1690, 560,560,1690, 560,1690,560, 560,560,1690, 560,560,1690, 560,560,1690};	//0x48
int delay_cmd2[]= {560,560,1690, 560,1690,560, 560,1690,560, 560,1690,560, 560,1690,560, 560,560,560,  560,560,560, 560,560,560};	//0x78
int delay_cmd3[]= {560,560,1690, 560,1690,560, 560,560,1690, 560,1690,560, 560,1690,560, 560,560,560,  560,560,560, 560,560,560};	//0x58
int delay_cmd4[]= {560,1690,560, 560,560,1690, 560,1690,560, 560,560,1690, 560,560,1690, 560,560,1690, 560,560,1690, 560,560,1690};	//0xA0