18f1330

Beta Testing discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
piort
Posts: 1379
Joined: 28 Dec 2005 16:42
Location: Laval,Québec,Canada,Earth... :-)
Contact:

18f1330

#1 Post by piort » 09 Sep 2010 02:42

hi,
i receive this error msg :
9 303 Identifier "cmcon" was not declared tempo2.mpas
but following datasheet :

Code: Select all

REGISTER 16-1: CMCON: COMPARATOR CONTROL REGISTER
page 173.

User avatar
ranko.rankovic
Posts: 433
Joined: 11 Jun 2010 09:22

Re: 18f1330

#2 Post by ranko.rankovic » 09 Sep 2010 14:06

Hello piort,

I tried to reproduce this bug. Can you send us little project that can demonstrate this bug you were talking about.

Best regards
Ranko Rankovic
mikroElektronika [Support Department]

piort
Posts: 1379
Joined: 28 Dec 2005 16:42
Location: Laval,Québec,Canada,Earth... :-)
Contact:

Re: 18f1330

#3 Post by piort » 09 Sep 2010 17:18

lol, after triple checking , i realize i have make a mistake in the mcu choice...i had click on 18f1230...and this chip dosent have cmon register... now everything is good and work nicely.

You have make a nice job on this version !

ps. its is possible to make a warning msg when you use compatible type but not same type ?
exemple :

Code: Select all

i : byte ;
j : word ; 

for i = 0 to j do  // compatible but not same
// any code


in this exemple if j is higher than 255, the loop stop to work. That normal but that the kind of mistake that can took hour to find in code... I dont want a error message because sometime we have to play with that like when we use to byte to put in one word variable.. just a warning will be nice ;-)

have a nice day

User avatar
ranko.rankovic
Posts: 433
Joined: 11 Jun 2010 09:22

Re: 18f1330

#4 Post by ranko.rankovic » 13 Sep 2010 07:09

Hello piort,

I'll proceed this suggestion to our developers, and hope they will be able to implement it in our final version.

Best regards
Ranko Rankovic
mikroElektronika [Support Department]

Post Reply

Return to “mikroPascal PRO for PIC Beta Testing”