Hello, MPASM would not be happy with M12F675.INC, anyway... Regards, Imre On Mon, 22 Sep 2003 Bala.Chandar@AVENTIS.COM wrote: > Quah wrote: > > > I am newbie to PIC, trying to learn the PIC. My first problem > > encounter > > is to use PIC Basic Pro to compile a simple blink program > > using the PIC > > Basic Pro compiler, then I use the hex file generated to be > > loaded into > > the ICProg 1.5A. The is no errors during burning the 12F675. > > > > But the program doesn't blink the LED when I put into the breadboard, > > even measure with the DVM, no High from the pin out as programmed. > > > > I tried to assembled the asm file from compiler from the > > MPLAB, there is > > 29 errors shown, the first line of the error file show the > > include file > > M12F675 not found, but the file is in the compiler INC directory. > > > > Any ideas what happen ? > > One possible reason is that you are not turning off the comparator and ADC of > 12F675. Make sure your PBP code has the following two lines in the beginning: > > CMCON = 7 'Disable comparator > ANSEL = 0 'Disable A to D > > Since you are using PicBasic Pro, PicBasic (picbasic-l@qunos.net) would be > the appropriate forum to send your posts to. > > Regards, > Bala > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body