Additional library for MikroPascal PRO 2009

General discussion on mikroPascal PRO for PIC.
Author
Message
yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

Additional library for MikroPascal PRO 2009

#1 Post by yo2lio » 12 May 2009 10:45

Hello all,

Additional library for MikroPascal PRO 2009 are available here :
http://www.microelemente.ro/MikroPascal ... y_V1_3.zip

This setup will install the following files in \Uses\P18 folder :

all_digital.mpas
Bit_Lib.mcl
Bootloader_lib_V7_ZABBIX_64K.mcl
Bootloader_lib_V7_ZABBIX_96K.mcl
Bootloader_lib_V7_ZABBIX_128K.mcl
CAN_lib.mcl
definitions_enc.mcl
Flash_Mem_Library.mcl
Frecv_lib_P18.mcl
lib1_18f97j60_v3_5.mcl
lib1_enc28j60_v3_5.mcl
lib2_18F97J60_V3_5.mcl
lib2_enc28j60_V3_5.mcl
lib1_18f97j60_v3_4.mcl
lib1_enc28j60_v3_4.mcl
lib2_18F97J60_V3_4.mcl
lib2_enc28j60_V3_4.mcl
Lib_Delays_LIO.mpas
onewire_base.mcl
pic_additional_string_library.mcl
SDMMC_SPI1.mcl
SDMMC_SPI2.mcl
sensirion_lib_P18.mcl
snmp_library_user.mcl
snmp_library_user_32.mcl
Termal_Library_My.mcl
PPS_Library.mcl

MP_PRO_Library_V1_2_Uninstall.exe


Examples and documentations for this libraries are available here :
http://www.microelemente.ro/MikroPascal ... xample.zip

Enjoy!
Last edited by yo2lio on 02 Jul 2009 10:44, edited 6 times in total.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#2 Post by Dany » 12 May 2009 11:26

Thanks Florin! :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

FRM
Posts: 381
Joined: 20 May 2005 18:58
Location: UK

#3 Post by FRM » 12 May 2009 13:31

You're a star! - & a very generous one at that. Thank you! :wink:

chimimic
Posts: 178
Joined: 29 Sep 2007 14:35
Location: France
Contact:

#4 Post by chimimic » 13 May 2009 08:26

Thanks, yo2lio :D

IgorS
Posts: 38
Joined: 13 Jul 2007 01:01
Location: Russia

#5 Post by IgorS » 13 May 2009 14:38

Thanks! We wait examples!

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#6 Post by yo2lio » 13 May 2009 17:04

IgorS wrote:Thanks! We wait examples!
Available now, check first post.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

IgorS
Posts: 38
Joined: 13 Jul 2007 01:01
Location: Russia

#7 Post by IgorS » 13 May 2009 20:58

yo2lio wrote:Available now, check first post.
Ok! Thanks!

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#8 Post by yo2lio » 19 May 2009 11:06

Library updated. See first post...

Added support for Ethernet Library V3_4.
Added support for Peripheral Pin Select, thanks to JPC.

The Ethernet Library V3_4 is V3_5 without TCP/IP stack.
Include also DHCP, DNS and firewall policy. Be careful at opened ports... See V3_5 example.

Before installations you must uninstall old version with MP_PRO_Library_V1_1_Uninstall.exe from /Uses/P18 folder.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#9 Post by Dany » 19 May 2009 15:05

Thanks Florin! :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

IgorS
Posts: 38
Joined: 13 Jul 2007 01:01
Location: Russia

#10 Post by IgorS » 27 May 2009 07:19

Hello, yo2lio!
Please, write an example how to use functions OWSearch _, OWFirst _, OWNext_.

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#11 Post by yo2lio » 27 May 2009 12:17

Hello,

I don't have any example for this, I implemented this functions only ...

My intention was to write discover routine for DSxxxx sensors.
Unfortunately my time is limited.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Donald Shimoda
Posts: 553
Joined: 27 Feb 2006 17:00
Location: Argentina
Contact:

#12 Post by Donald Shimoda » 29 May 2009 20:39

Start using, but missed the standard longtostr with space in pic_additional_string_library.

I bet is not very hard to add functions like

LongInt2StrWithZeros

but

LongInt2StrWithChars allowing a customizable char at start of string?

TIA
Donald Shimoda.

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#13 Post by yo2lio » 02 Jul 2009 10:48

Library updated. See first post...

All libraries are compiled with MP PRO 2.50

Before installation, you must uninstall old version with MP_PRO_Library_V1_2_Uninstall.exe from /Uses/P18 folder.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#14 Post by Dany » 02 Jul 2009 16:17

yo2lio wrote:Library updated. See first post...

All libraries are compiled with MP PRO 2.50

Before installation, you must uninstall old version with MP_PRO_Library_V1_2_Uninstall.exe from /Uses/P18 folder.
Thanks Florin! :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#15 Post by yo2lio » 02 Jul 2009 20:16

I added procedure Set_TCP_TimeOut_Interval(int_ : word); in Ethernet V3_5 library. Default value is 60 sec.

Set timeout interval for all TCP sockets.
This routine can be called only after Eth_Init routine.

Code: Select all

Set_TCP_TimeOut_Interval(300); // keep connection opened for 300 seconds
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Post Reply

Return to “mikroPascal PRO for PIC General”