Additional library for MikroBasic PRO 2009
Re: Additional library for MikroBasic PRO 2009
Hello Florin,
The link to download the zip file is dead
Please update
Thank you
Ion
The link to download the zip file is dead
Please update
Thank you
Ion
Experience is something you don't get until just after you need it
Re: Additional library for MikroBasic PRO 2009
All OK here...igeorge wrote:Hello Florin,
The link to download the zip file is dead
Please update
Thank you
Ion
http://www.microelemente.ro/MikroBasic/ ... y_V1_4.zip
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
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
Re: Additional library for MikroBasic PRO 2009
thank you
it did work
originaly i clicked on the first page link and just went to your main page
thanks again
ion
it did work
originaly i clicked on the first page link and just went to your main page
thanks again
ion
Experience is something you don't get until just after you need it
Re: Additional library for MikroBasic PRO 2009
Hi yo2lio,
I can't install V1.4 because it search automaticaly and by default MB path on my USB key licence (k:\). But by now, I do not have any more my USB key license (lost it) and by now I use MB on a borrowed laptop (c:\). (MB in demo mode)
Is there a way to choose specific path to install additionnal library ?
Thanks
I can't install V1.4 because it search automaticaly and by default MB path on my USB key licence (k:\). But by now, I do not have any more my USB key license (lost it) and by now I use MB on a borrowed laptop (c:\). (MB in demo mode)
Is there a way to choose specific path to install additionnal library ?
Thanks
Alain
-
- Posts: 466
- Joined: 18 Apr 2008 03:46
Re: Additional library for MikroBasic PRO 2009
Florin,
Florin, Looking at the above codes, is there any way that i can access directly to the variable in your EthMem other than having to use this function : CopyEthMem_CPToRam(@strLongString,len_T)
Using the function CopyEthMem_CPToRam(@strLongString,len_T), I have to waste pretty much of my MCU ram by creating the variable : dim strLongString as string[550]
Thanks
Code: Select all
dim strLongString as string[550]
...
...
...
sub procedure Eth_UserTCP(dim byref dest_ip_addr_T as IpHeader, dim byref source_port_T, dest_port_T, len_T as word, dim CC_Sock as byte)
if len_T > 550 then len_T = 550 end if
if source_port_T = MY_TCP_Port then
memset(@strLongString,0,550)
CopyEthMem_CPToRam(@strLongString,len_T)
Using the function CopyEthMem_CPToRam(@strLongString,len_T), I have to waste pretty much of my MCU ram by creating the variable : dim strLongString as string[550]
Thanks
Re: Additional library for MikroBasic PRO 2009
You can read from ETH MEM (TCP packet) with Eth_GetBytestevenindon wrote:Florin,
Florin, Looking at the above codes, is there any way that i can access directly to the variable in your EthMem other than having to use this function : CopyEthMem_CPToRam(@strLongString,len_T)Code: Select all
dim strLongString as string[550] ... ... ... sub procedure Eth_UserTCP(dim byref dest_ip_addr_T as IpHeader, dim byref source_port_T, dest_port_T, len_T as word, dim CC_Sock as byte) if len_T > 550 then len_T = 550 end if if source_port_T = MY_TCP_Port then memset(@strLongString,0,550) CopyEthMem_CPToRam(@strLongString,len_T)
Using the function CopyEthMem_CPToRam(@strLongString,len_T), I have to waste pretty much of my MCU ram by creating the variable : dim strLongString as string[550]
Thanks
Eth_GetByte will increment automatically read pointer.
If you want to reset the read pointer to first byte, run this : ReadFromEthMem(AddrPacket + 53)
First byte is located at AddrPacket + 54
Code: Select all
first_byte = ReadFromEthMem(AddrPacket + 54)
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
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
Re: Additional library for MikroBasic PRO 2009
Ok, There was a mistake somewhere in my computer with 2.50 and 3.20 MB versions compilers. Only 2.50 was licenced in my computer. but not 3.20.Kalain wrote:Hi yo2lio,
I can't install V1.4 because it search automaticaly and by default MB path on my USB key licence (k:\). But by now, I do not have any more my USB key license (lost it) and by now I use MB on a borrowed laptop (c:\). (MB in demo mode)
Is there a way to choose specific path to install additionnal library ?
Thanks
I desinstalled 2.50, reinstalled 3.20, applied new licence.
After that I could installed additionnal library.
Regards
Alain
-
- Posts: 466
- Joined: 18 Apr 2008 03:46
Re: Additional library for MikroBasic PRO 2009
Code: Select all
You can read from ETH MEM (TCP packet) with Eth_GetByte
Eth_GetByte will increment automatically read pointer.
I will try the above code.
Thanks again
Re: Additional library for MikroBasic PRO 2009
hi need lib for eeprom 24c512
-
- Posts: 466
- Joined: 18 Apr 2008 03:46
Re: Additional library for MikroBasic PRO 2009
Florin,
Can i ask for a favour? As i noticed your latest additional library does not include the latest
FAT32 library from Dany.
As the Fat32 library compiled by you usses your additional string library, Can you please compile your additional string libraries with Dany's FAT32 (latest version)?... as some of the latest functions in FAT32 are very useful for my coming project. ( FAT32_SPI1 and FAT32_SPI2 )
Thanks
Can i ask for a favour? As i noticed your latest additional library does not include the latest
FAT32 library from Dany.
As the Fat32 library compiled by you usses your additional string library, Can you please compile your additional string libraries with Dany's FAT32 (latest version)?... as some of the latest functions in FAT32 are very useful for my coming project. ( FAT32_SPI1 and FAT32_SPI2 )
Thanks
Re: Additional library for MikroBasic PRO 2009
I'm sorry, I'm very busy and I don't have time for this.stevenindon wrote:Florin,
Can i ask for a favour? As i noticed your latest additional library does not include the latest
FAT32 library from Dany.
As the Fat32 library compiled by you usses your additional string library, Can you please compile your additional string libraries with Dany's FAT32 (latest version)?... as some of the latest functions in FAT32 are very useful for my coming project. ( FAT32_SPI1 and FAT32_SPI2 )
Thanks
Sorry and thanks for understanding.
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
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
-
- Posts: 466
- Joined: 18 Apr 2008 03:46
Re: Additional library for MikroBasic PRO 2009
Forin,
Its ok. You have done so much for us. Only whenever you have time.
Thanks and Cheers
Its ok. You have done so much for us. Only whenever you have time.
Thanks and Cheers
-
- Posts: 466
- Joined: 18 Apr 2008 03:46
Re: Additional library for MikroBasic PRO 2009
Florin,
Currently i have just installed Windows 7 due to my harddisk failure... and after installing MBro and your additional libraries, I tried to compile some previous projects and this is what i found :
File 'lib_delays_lio.mcl' not found
I tried to search in the folder C:\Program Files\Mikroelektronika\mikroBasic PRO for PIC\Uses\P18 for 'lib_delays_lio.mcl' but i couldnt find it.
Please advice
Thanks.
Currently i have just installed Windows 7 due to my harddisk failure... and after installing MBro and your additional libraries, I tried to compile some previous projects and this is what i found :
File 'lib_delays_lio.mcl' not found
I tried to search in the folder C:\Program Files\Mikroelektronika\mikroBasic PRO for PIC\Uses\P18 for 'lib_delays_lio.mcl' but i couldnt find it.
Please advice
Thanks.
-
- Posts: 466
- Joined: 18 Apr 2008 03:46
Re: Additional library for MikroBasic PRO 2009
Florin,
I solved the problem by including the file :
include "lib_delays_lio"
After compiled... I took out the include and it now works. I guess the mcl is built when i put
include the bas file in my project.
As for new users, I guess they might have problem with this.
Thanks
I solved the problem by including the file :
include "lib_delays_lio"
After compiled... I took out the include and it now works. I guess the mcl is built when i put
include the bas file in my project.
As for new users, I guess they might have problem with this.
Thanks
Re: Additional library for MikroBasic PRO 2009
I understand there is a library for the MRF24J40MA RF chip. I've tried to follow links posted here but they seem to be dead.
Where can I find the Library or source code for the library.
Thank you
Doug
Where can I find the Library or source code for the library.
Thank you
Doug
Doug
KD5NWK
KD5NWK