PDA

View Full Version : error message



chip_select
- 20th March 2008, 20:00
Hi,
what does it mean this message?



Error[101] c:\pbp2.50\pbppic12.lib5760: ERROR:(Library cannot exceed first 256 words.)

thx
chip_s

skimask
- 21st March 2008, 00:35
what does it mean this message?
Error[101] c:\pbp2.50\pbppic12.lib5760: ERROR:(Library cannot exceed first 256 words.)

It means just what it says...too many functions are being used and they won't all fit in the 1st bank on a 12 bit PIC.
Post the program...Maybe we can help you pare it down to fit...

chip_select
- 21st March 2008, 07:00
Hi, I use a pic 12f509 with SOUND.
INTOSC e internal MCLR.
Here is the program.
thx chip_s



include "modedefs.bas"

loop:
sound GPIO.4,[123,20]
PAUSE 100
GOTO LOOP
END

chip_select
- 21st March 2008, 07:14
Sory, this is the program that produces me the error.

include "modedefs.bas"
v1 var byte
loop:
POT GPIO.4,255,V1
serout GPIO.0,2,[#V1]
sound GPIO.5,[124,20]
PAUSE 100
SEROUT GPIO.0,2,[12,1]
GOTO LOOP
END